Borderou de evaluare (job #7457)

Utilizator avatar andreea_zaharia Zaharia Andreea andreea_zaharia IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 ian. 2013 16:27:11 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | freopen("paint.in","r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:13:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | freopen("paint.out","w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:16:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | scanf("%d%d", &n,&m); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:20:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | scanf("%d", &k); | ~~~~~^~~~~~~~~~ main.cpp:24:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | scanf("%d", &q); | ~~~~~^~~~~~~~~~ main.cpp:27:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | scanf("%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 OK 20
3 2 ms 764 kb OK 20
4 75 ms 3396 kb OK 20
5 176 ms 4048 kb OK 20
Punctaj total 100