Pagini recente » Borderou de evaluare (job #2551947) | Borderou de evaluare (job #2845737) | Borderou de evaluare (job #2980224) | Borderou de evaluare (job #2766282) | Borderou de evaluare (job #1347867)
Borderou de evaluare (job #1347867)
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: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 | Incorect | 0 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 0ms | 348kb | Incorect | 0 |
| 4 | 0ms | 456kb | Incorect | 0 |
| 5 | 8ms | 840kb | Incorect | 0 |
| 6 | 48ms | 1236kb | Incorect | 0 |
| 7 | 48ms | 1236kb | Incorect | 0 |
| 8 | 48ms | 1232kb | Incorect | 0 |
| 9 | 48ms | 1232kb | Incorect | 0 |
| 10 | 48ms | 1232kb | Incorect | 0 |
| Punctaj total | 10 |