Pagini recente » Borderou de evaluare (job #1276365) | Borderou de evaluare (job #1876291) | Borderou de evaluare (job #2172217) | Borderou de evaluare (job #729520) | Borderou de evaluare (job #1347874)
Borderou de evaluare (job #1347874)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:29:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[i][i + 1] = cost[v[i]][v[i + 1]];
^
user.c:29:5: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:35:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[j][k] = d[j + 1][k - 1] + cost[v[j]][v[k]];
^
user.c:35:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:37:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[j][k] > d[j][l - 1] + d[l + 1][k - 1] + cost[v[l]][v[k]])
^
user.c:37:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:38:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[j][k] = d[j][l - 1] + d[l + 1][k - 1] + cost[v[l]][v[k]];
^
user.c:38:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:40:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(d[j][k] > d[j][k - 2] + cost[v[k - 1]][v[k]])
^
user.c:40:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:41:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[j][k] = d[j][k - 2] + cost[v[k - 1]][v[k]];
^
user.c:41:9: warning: array subscript has type ‘char’ [-Wchar-subscripts]
user.c:11:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d ", &n);
^
user.c:18:13: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &cost[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 352kb | OK | 10 |
4 | 0ms | 452kb | OK | 10 |
5 | 8ms | 844kb | OK | 10 |
6 | 48ms | 1228kb | OK | 10 |
7 | 48ms | 1232kb | OK | 10 |
8 | 48ms | 1232kb | OK | 10 |
9 | 48ms | 1232kb | OK | 10 |
10 | 48ms | 1236kb | OK | 10 |
Punctaj total | 100 |