Borderou de evaluare (job #7461)

Utilizator avatar andreea_zaharia Zaharia Andreea andreea_zaharia IP ascuns
Problemă Paint (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 ian. 2013 16:43:40 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:20: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=] 33 | printf("%lld\n", v[x]); | ~~~^ ~~~~ | | | | | int | long long int | %d main.cpp:13:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | freopen("paint.in","r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:14:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | freopen("paint.out","w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:17:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | scanf("%d%d", &n,&m); | ~~~~~^~~~~~~~~~~~~~~ main.cpp:24:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 24 | scanf("%d", &k); | ~~~~~^~~~~~~~~~ main.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | scanf("%d", &q); | ~~~~~^~~~~~~~~~ main.cpp:31:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | scanf("%d%d%d%d", &l1, &c1,&l2,&c2); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 292 kb OK 20
2 1 ms 764 kb OK 20
3 2 ms 548 kb OK 20
4 71 ms 3964 kb OK 20
5 171 ms 6072 kb OK 20
Punctaj total 100