Borderou de evaluare (job #761467)

Utilizator avatar AswVwsA Camburu Luca AswVwsA IP ascuns
Problemă Reginald Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 11 feb. 2024 09:19:35 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:27:19: warning: array subscript has type 'char' [-Wchar-subscripts] 27 | clasa[dv[i]].push_back(i); | ~~~~^ main.cpp:17:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 17 | freopen("reginald.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:18:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | freopen("reginald.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:28:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:32:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | scanf("%d %d %d", &a, &b, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 569 ms 24293 kb OK 10
2 749 ms 23945 kb OK 10
3 2304 ms 21053 kb Time limit exceeded 0
4 2306 ms 21303 kb Time limit exceeded 0
5 2306 ms 21397 kb Time limit exceeded 0
6 2306 ms 21499 kb Time limit exceeded 0
7 2304 ms 21499 kb Time limit exceeded 0
8 2306 ms 21610 kb Time limit exceeded 0
9 2301 ms 20713 kb Time limit exceeded 0
10 2301 ms 21557 kb Time limit exceeded 0
Punctaj total 20