Borderou de evaluare (job #2404406)

Utilizator georgecraciun98George Craciun georgecraciun98 Data 12 aprilie 2019 18:30:27
Problema Triunghi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:30: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] fscanf(f, "%d ", &sum_to_get); ^ main.cpp:40:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d ", &n); ^ main.cpp:42:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d ", &sum_to_get); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
114ms6160kbOK!10
27ms2228kbOK!10
311ms3538kbOK!10
48ms2752kbOK!10
52ms131kbOK!10
62ms131kbOK!10
72ms131kbOK!10
82ms262kbOK!10
93ms393kbOK!10
103ms524kbOK!10
Punctaj total100

Ceva nu functioneaza?