Borderou de evaluare (job #632928)

Utilizator avatar mrmouse Andrei Brown mrmouse IP ascuns
Problemă Panglica (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 15 feb. 2022 01:15:29 Scor 10

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 15 | if(v[p]==0) | ^~ main.c:17:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 17 | u[p]=i; | ^ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin,"%d%d",&n,&c); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf(fin,"%d",&p); | ^~~~~~~~~~~~~~~~~~~ main.c:27:5: warning: 'cmax' may be used uninitialized in this function [-Wmaybe-uninitialized] 27 | fprintf(fout,"%d\n%d\n%d\n%d\n",max,cmax,v[cmax],n-u[cmax]-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 118 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 ms 114 kb Incorect 0
5 1 ms 114 kb Incorect 0
6 1 ms 114 kb Incorect 0
7 1 ms 114 kb Incorect 0
8 1 ms 118 kb OK 10
9 1 ms 118 kb Incorect 0
10 1 ms 118 kb Incorect 0
Punctaj total 10