Borderou de evaluare (job #621814)

Utilizator avatar Gabrielaciornea Gabriela Ciornea Gabrielaciornea IP ascuns
Problemă Bile1 (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 dec. 2021 12:33:30 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:43:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 43 | for ( i = 0; i < c; i ++ ) | ^~~ main.cpp:45:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 45 | fclose( fin ); | ^~~~~~ main.cpp:20:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf( fin, "%d%d%d", &l, &c, &obs ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:22:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 22 | fscanf( fin, "%d%d", &linie, &col ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | fscanf( fin, "%d", &v[i] ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 7 ms 655 kb OK 10
2 14 ms 4059 kb OK 10
3 15 ms 5111 kb OK 10
4 19 ms 5505 kb OK 10
5 13 ms 4845 kb OK 10
6 21 ms 6287 kb OK 10
7 28 ms 8384 kb Memory limit exceeded 0
8 27 ms 8388 kb Memory limit exceeded 0
9 33 ms 8388 kb Memory limit exceeded 0
10 1 ms 262 kb OK 10
Punctaj total 70