Borderou de evaluare (job #4329)

Utilizator avatar ade_tomi Enache Adelina ade_tomi IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Olimpiada pe Scoala 2012, Clasa a 7-a Status evaluat
Dată 17 dec. 2012 10:40:55 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:11: warning: too many arguments for format [-Wformat-extra-args] 11 | scanf("%d%d",&n,&m,&cg); | ^~~~~~ main.cpp:32:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 32 | printf("%d\n",put); | ~^ ~~~ | | | | int long long int | %lld 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.in","r",stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:10:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | freopen("paint.out","w",stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:11:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | scanf("%d%d",&n,&m,&cg); | ~~~~~^~~~~~~~~~~~~~~~~~ main.cpp:15:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | scanf("%d",&a[i][j]); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:17:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | scanf("%d",&q); | ~~~~~^~~~~~~~~ main.cpp:20:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | scanf("%d%d%d%d",&l1,&c1,&l2,&c2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Public Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 20
2 1 ms 764 kb Incorect 0
3 2 ms 548 kb Incorect 0
4 depășit 3328 kb Time limit exceeded. 0
5 depășit 4152 kb Time limit exceeded. 0
Punctaj total 20