Borderou de evaluare (job #65615)

Utilizator avatar dyanag Diana Grigore dyanag IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 29 mar. 2014 14:49:01 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:24:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 24 | fprintf(g, "%d\n", cn); | ~^ ~~ | | | | int long long int | %lld main.cpp:12:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(f, "%d%d", &n, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~ main.cpp:15:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(f, "%d", &nr); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:19:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 19 | fscanf(f, "%d", &nr); | ~~~~~~^~~~~~~~~~~~~~ main.cpp:21:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | fscanf(f, "%d%d%d%d", &l1, &c1, &l2, &c2); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 292 kb OK 20
2 1 ms 764 kb Incorect 0
3 2 ms 1276 kb Incorect 0
4 69 ms 6128 kb Incorect 0
5 162 ms 8148 kb Incorect 0
Punctaj total 20