Borderou de evaluare (job #858624)

Utilizator avatar RaresAnghel Anghel Rares Mihai RaresAnghel IP ascuns
Problemă Ruine Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 27 mar. 2026 19:21:15 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:5:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 5 | freopen("ruine.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:6:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 6 | freopen("ruine.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | scanf("%d %d", &n, &q); | ~~~~~^~~~~~~~~~~~~~~~~ main.cpp:15:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | scanf("%d", &v[i]); | ~~~~~^~~~~~~~~~~~~ main.cpp:23:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 23 | scanf(" %c", &op); | ~~~~~^~~~~~~~~~~~ main.cpp:27:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | scanf("%d", &x); | ~~~~~^~~~~~~~~~ main.cpp:31:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | scanf("%d", &x); | ~~~~~^~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 508 kb OK 10
2 1 ms 508 kb OK 10
3 3 ms 488 kb OK 10
4 4 ms 744 kb OK 10
5 37 ms 1436 kb OK 10
6 40 ms 2212 kb OK 10
7 depășit 3312 kb Time limit exceeded. 0
8 depășit 4284 kb Time limit exceeded. 0
9 depășit 4900 kb Time limit exceeded. 0
10 depășit 4844 kb Time limit exceeded. 0
Punctaj total 60