Borderou de evaluare (job #250464)

Utilizator avatar isa_vlad.ulmeanu Vlad Ulmeanu isa_vlad.ulmeanu IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 14 oct. 2016 18:03:36 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:39:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=] 39 | fscanf ( fin, "%d", &tab[i][j] ); | ~^ ~~~~~~~~~~ | | | | | bool* | int* main.cpp:33:10: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fscanf ( fin, "%d%d", &l, &c ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:39:14: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | fscanf ( fin, "%d", &tab[i][j] ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:47:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | fscanf( fin, "%d", &q ); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:50:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fscanf( fin, "%d%d%d%d", &l1, &c1, &l2, &c2 ); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 508 kb OK 20
2 1 ms 548 kb OK 20
3 2 ms 804 kb OK 20
4 73 ms 3920 kb OK 20
5 171 ms 5124 kb OK 20
Punctaj total 100