Pagini recente » Borderou de evaluare (job #950883) | Borderou de evaluare (job #861170) | Borderou de evaluare (job #1966981) | Borderou de evaluare (job #194835) | Borderou de evaluare (job #1911882)
Borderou de evaluare (job #1911882)
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 |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 32ms | 248kb | OK | 10 |
5 | 0ms | 248kb | OK | 10 |
6 | 8ms | 256kb | OK | 10 |
7 | 0ms | 248kb | OK | 10 |
8 | 44ms | 252kb | OK | 10 |
9 | Depăşit | 256kb | Time limit exceeded. | 0 |
10 | 0ms | 252kb | OK | 10 |
Punctaj total | 90 |