Borderou de evaluare (job #586160)

Utilizator avatar mateilb1234 Matei Balaur mateilb1234 IP ascuns
Problemă Secv (baraj gimnaziu) Compilator cpp-32
Rundă Baraj gimnaziu Status evaluat
Dată 15 mar. 2021 13:23:32 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:56:9: 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:9: 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:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 59 | scanf("%d", &P); | ~~~~~^~~~~~~~~~ main.cpp:60:7: 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:8: 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 262 kb OK 4
2 1 ms 262 kb OK 4
3 1 ms 262 kb OK 4
4 41 ms 651 kb OK 4
5 206 ms 3145 kb OK 4
6 303 ms 5632 kb OK 4
7 393 ms 6287 kb OK 4
8 384 ms 6553 kb OK 4
9 428 ms 6553 kb OK 4
10 449 ms 6549 kb OK 4
11 1 ms 262 kb OK 4
12 1 ms 262 kb OK 4
13 1 ms 262 kb OK 4
14 38 ms 651 kb OK 4
15 231 ms 2359 kb OK 4
16 414 ms 4325 kb OK 4
17 236 ms 2748 kb OK 4
18 348 ms 3534 kb OK 4
19 456 ms 4452 kb OK 4
20 424 ms 4321 kb OK 4
21 431 ms 4321 kb OK 4
22 247 ms 2748 kb OK 4
23 344 ms 3526 kb OK 4
24 455 ms 4456 kb OK 4
25 436 ms 4325 kb OK 4
Punctaj total 100