Borderou de evaluare (job #1911882)

Utilizator demetriad-dagpagDavid Demetriad demetriad-dagpag Data 7 martie 2017 22:07:48
Problema Pluricex Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.c: In function ‘bkt’: user.c:11:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[l]+=a[v[j]][l]; ^ user.c:11:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:11:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:11:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:12:9: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(j=1; j<=d && f[j]>0; j++); ^ user.c:15:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] cif1=v[j]/10; ^ user.c:16:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] cif2=v[j]%10; ^ user.c:25:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] f[j]=0; ^ user.c:32:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(z[ct]==0) ^ user.c:34:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] z[ct]=1; ^ user.c:35:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] v[i]=ct; ^ user.c:37:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] z[ct]=0; ^ user.c: In function ‘main’: user.c:47:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘char *’ [-Wformat=] scanf("%d%d%d",&n,&k,&d); ^ user.c:47:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=] user.c:47:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=] user.c:45:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("pluricex.in","r",stdin); ^ user.c:46:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("pluricex.out","w",stdout); ^ user.c:47:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&n,&k,&d); ^ user.c:50:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&nr); ^ user.c:53:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms256kbOK10
30ms248kbOK10
432ms248kbOK10
50ms248kbOK10
68ms256kbOK10
70ms248kbOK10
844ms252kbOK10
9Depăşit256kbTime limit exceeded.0
100ms252kbOK10
Punctaj total90

Ceva nu functioneaza?