Borderou de evaluare (job #288853)

Utilizator avatar Herbert2002 Herbert Mohanu Herbert2002 IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 5 mar. 2017 20:05:22 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d%d", &n, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:20:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf(fin, "%d", &v[i][j]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:27:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | fscanf(fin, "%d", &q); | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:29:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | fscanf(fin, "%d%d%d%d", &l1, &c1, &l2, &c2); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 288 kb OK 20
2 1 ms 760 kb OK 20
3 2 ms 1016 kb OK 20
4 76 ms 4912 kb OK 20
5 183 ms 8068 kb OK 20
Punctaj total 100