Borderou de evaluare (job #761474)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:31:19: warning: array subscript has type 'char' [-Wchar-subscripts] 31 | 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:32:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ main.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | scanf("%d %d %d", &a, &b, &c); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 568 ms 24289 kb OK 10
2 748 ms 23957 kb OK 10
3 2302 ms 21274 kb Time limit exceeded 0
4 2301 ms 21565 kb Time limit exceeded 0
5 2308 ms 21377 kb Time limit exceeded 0
6 2305 ms 21544 kb Time limit exceeded 0
7 2304 ms 21553 kb Time limit exceeded 0
8 2306 ms 21864 kb Time limit exceeded 0
9 2309 ms 20549 kb Time limit exceeded 0
10 2304 ms 21835 kb Time limit exceeded 0
Punctaj total 20