Borderou de evaluare (job #583531)

Utilizator avatar Zluca.jmecher Zamfir Luca Cristian Zluca.jmecher IP ascuns
Problemă Chip și Dale (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 26 feb. 2021 19:59:23 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for(i=0;i<n;i++) | ^~~ main.c:17:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 17 | cnt=0; | ^~~ main.c:11:33: warning: unused variable 'j' [-Wunused-variable] 11 | int n,i,cnt,aux,chip=0,dale=0,j,chip1=0,dale1=0; | ^ main.c:11:15: warning: unused variable 'aux' [-Wunused-variable] 11 | int n,i,cnt,aux,chip=0,dale=0,j,chip1=0,dale1=0; | ^~~ main.c:12:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 12 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] 14 | fscanf(fin,"%d",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 2 ms 131 kb OK 10
2 2 ms 262 kb OK 10
3 2 ms 131 kb OK 10
4 2 ms 262 kb OK 10
5 2 ms 131 kb OK 10
6 2 ms 262 kb OK 10
7 2 ms 131 kb OK 10
8 4 ms 258 kb OK 10
9 2 ms 131 kb OK 10
10 2 ms 131 kb OK 10
Punctaj total 100