Borderou de evaluare (job #59781)

Utilizator avatar AlexVolatilu Voicu Alex AlexVolatilu IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 feb. 2014 16:57:02 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:42:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | freopen("paint.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:43:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | freopen("paint.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:47:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | scanf("%d%d",&n,&m); | ~~~~~^~~~~~~~~~~~~~ main.cpp:53:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | scanf("%d",&x); | ~~~~~^~~~~~~~~ main.cpp:57:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | scanf("%d",&q); | ~~~~~^~~~~~~~~ main.cpp:62:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | scanf("%d%d%d%d",&colt[0],&colt[1],&colt[2],&colt[3]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 292 kb OK 20
2 depășit 296 kb Time limit exceeded. 0
3 depășit 512 kb Time limit exceeded. 0
4 41 ms 2344 kb Killed by signal 11. 0
5 103 ms 3624 kb Killed by signal 11. 0
Punctaj total 20