Borderou de evaluare (job #155884)

Utilizator avatar eragon0502 Dumitrescu Dragos eragon0502 IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 23 sept. 2015 18:05:45 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:9: warning: variable 'k' set but not used [-Wunused-but-set-variable] 10 | int k,i,j,m,n,q,l1,l2,c1,c2,suma1,suma0,x,y,rez; | ^ main.cpp:8:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | freopen("paint.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:9:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | freopen("paint.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:12:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | scanf("%d %d",&m,&n); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:16:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | scanf("%d",&a[i][j]); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:23:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | scanf("%d",&q); | ~~~~~^~~~~~~~~ main.cpp:26:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | scanf("%d %d %d %d",&l1,&c1,&l2,&c2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 1276 kb OK 20
4 77 ms 6460 kb OK 20
5 177 ms 8120 kb OK 20
Punctaj total 100