Borderou de evaluare (job #9467)

Utilizator avatar gegead Dragos Gegea gegead IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 feb. 2013 15:43:29 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] 31 | scanf("%d",&a[i][j]); | ~^ ~~~~~~~~ | | | | | bool* | int* main.cpp:25:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 25 | freopen("paint.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:26:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | freopen("paint.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | scanf("%d%d",&n,&m); | ~~~~~^~~~~~~~~~~~~~ main.cpp:31:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | scanf("%d",&a[i][j]); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:39:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | scanf("%d",&q); | ~~~~~^~~~~~~~~ main.cpp:42:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | scanf("%d%d%d%d",&l1,&c1,&l2,&c2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 292 kb Incorect 0
2 1 ms 764 kb Incorect 0
3 2 ms 1020 kb Incorect 0
4 depășit 4076 kb Time limit exceeded. 0
5 depășit 5148 kb Time limit exceeded. 0
Punctaj total 0