Borderou de evaluare (job #288854)

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:48 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 1 ms 508 kb OK 20
2 1 ms 764 kb OK 20
3 2 ms 548 kb OK 20
4 70 ms 4732 kb OK 20
5 172 ms 8120 kb OK 20
Punctaj total 100