Borderou de evaluare (job #622877)

Utilizator avatar brebenarucarina Carina Brebenaru brebenarucarina IP ascuns
Problemă Turn (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 22 dec. 2021 18:55:38 Scor 20

Raport evaluator

Compilare: main.c: In function 'main': main.c:12:17: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 12 | int n,k,i,a,cnt,j,x; | ^~~ main.c:12:15: warning: unused variable 'a' [-Wunused-variable] 12 | int n,k,i,a,cnt,j,x; | ^ main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf( fin, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:16:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 16 | fscanf( fin, "%d", &c[j]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:20:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | fscanf( fin, "%d", &x); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb OK 10
3 8 ms 131 kb Incorect 0
4 10 ms 262 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 22 ms 520 kb Incorect 0
7 1 ms 131 kb Killed by Signal 11 0
8 16 ms 389 kb Incorect 0
9 1 ms 131 kb Killed by Signal 11 0
10 11 ms 131 kb OK 10
Punctaj total 20