Borderou de evaluare (job #366721)

Utilizator avatar dumitriu_razvan Razvan Dumitriu dumitriu_razvan IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 16 mar. 2018 10:30:17 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:28:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | freopen( "paint.in", "r", stdin ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:29:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 29 | freopen( "paint.out", "w", stdout ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:31:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | scanf( "%d%d", &n, &m ); | ~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:35:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | scanf( "%d", &x ); | ~~~~~^~~~~~~~~~~~ main.cpp:39:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | scanf( "%d", &q ); | ~~~~~^~~~~~~~~~~~ main.cpp:42:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | scanf( "%d%d%d%d", &sus.i, &sus.j, &jos.i, &jos.j ); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 73 ms 3356 kb OK 20
5 173 ms 4280 kb OK 20
Punctaj total 100