Pagini recente » Borderou de evaluare (job #2383079) | Borderou de evaluare (job #390170) | Borderou de evaluare (job #2794387) | Borderou de evaluare (job #2128366) | Borderou de evaluare (job #1882215)
Borderou de evaluare (job #1882215)
Raport evaluator
Compilare:
user.c: In function ‘verif’:
user.c:9:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(j=1; j<=t[v[i]][0]; j++)
^
user.c:10:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[t[v[i]][j]]=1;
^
user.c:10:13: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c: In function ‘main’:
user.c:41:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(fin,"%d%d%d",&n,&k,&d);
^
user.c:41:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘char *’ [-Wformat=]
user.c:41:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘char *’ [-Wformat=]
user.c:43:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(fin,"%d",&t[i][0]);
^
user.c:45:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘char *’ [-Wformat=]
fscanf(fin,"%d",&t[i][j]);
^
user.c:41:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&n,&k,&d);
^
user.c:43:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&t[i][0]);
^
user.c:45:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&t[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 44ms | 272kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 16ms | 268kb | OK | 10 |
7 | 0ms | 268kb | OK | 10 |
8 | 48ms | 264kb | OK | 10 |
9 | 36ms | 268kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 100 |