Borderou de evaluare (job #646882)

Utilizator avatar miHai231 Mihai Mandragiu miHai231 IP ascuns
Problemă Secv (baraj gimnaziu) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 8 apr. 2022 22:30:44 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | freopen("secv.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ main.cpp:57:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | freopen("secv.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:59:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 59 | scanf("%d", &P); | ~~~~~^~~~~~~~~~ main.cpp:60:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 60 | scanf("%d %d %d", &N, &K, &S); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:62:22: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | scanf("%d", &A[i]); | ~~~~~^~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb OK 4
2 1 ms 114 kb OK 4
3 1 ms 249 kb OK 4
4 33 ms 507 kb OK 4
5 191 ms 3391 kb OK 4
6 287 ms 4177 kb OK 4
7 314 ms 6139 kb OK 4
8 336 ms 5095 kb OK 4
9 390 ms 5488 kb OK 4
10 376 ms 6795 kb OK 4
11 1 ms 114 kb OK 4
12 1 ms 110 kb OK 4
13 1 ms 118 kb OK 4
14 39 ms 507 kb OK 4
15 196 ms 2215 kb OK 4
16 392 ms 4182 kb OK 4
17 218 ms 2609 kb OK 4
18 324 ms 3395 kb OK 4
19 408 ms 4304 kb OK 4
20 406 ms 4173 kb OK 4
21 398 ms 4182 kb OK 4
22 233 ms 2605 kb OK 4
23 331 ms 3391 kb OK 4
24 409 ms 4304 kb OK 4
25 426 ms 4173 kb OK 4
Punctaj total 100