Borderou de evaluare (job #852639)

Utilizator avatar C14H21N3O5 Leonard Urușciuc C14H21N3O5 IP ascuns
Problemă Razboi Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 feb. 2026 19:28:15 Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 34 | freopen("razboi.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:35:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | freopen("razboi.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:37:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 37 | scanf("%d", &A); | ~~~~~^~~~~~~~~~ main.cpp:39:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | scanf("%d %d %d", &x1[i], &v1[i], &a1[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:41:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | scanf("%d", &B); | ~~~~~^~~~~~~~~~ main.cpp:43:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | scanf("%d %d %d", &x2[i], &v2[i], &a2[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 292 kb OK 10
2 1 ms 508 kb OK 10
3 2 ms 508 kb OK 10
4 3 ms 508 kb OK 10
5 106 ms 2596 kb OK 10
6 225 ms 5800 kb OK 10
7 296 ms 7420 kb OK 10
8 398 ms 9764 kb OK 10
9 depășit 11572 kb Time limit exceeded. 0
10 depășit 12072 kb Time limit exceeded. 0
Punctaj total 80