Borderou de evaluare (job #625499)

Utilizator avatar andrei81 Ragman Andrei Adrian andrei81 IP ascuns
Problemă Zapada (clasele 11 și 12) Compilator cpp-32 | vezi sursa
Rundă Arhiva de probleme Status evaluat
Dată 15 ian. 2022 18:47:20 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:75:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 75 | if ( c < maxx ) | ^ main.cpp:57:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | freopen("zapada.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:58:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | freopen("zapada.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:59:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | scanf("%d %d %d", &n, &m, &k); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:63:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | scanf("%d %d %d", &a, &b, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:72:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | scanf("%d %d %d", &a, &b, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 114 kb OK 10
2 1 ms 114 kb OK 10
3 1 ms 118 kb OK 10
4 1 ms 118 kb OK 10
5 113 ms 1290 kb OK 10
6 51 ms 380 kb OK 10
7 128 ms 376 kb OK 10
8 474 ms 1028 kb OK 10
9 508 ms 1429 kb Time limit exceeded 0
10 504 ms 1417 kb Time limit exceeded 0
Punctaj total 80