Borderou de evaluare (job #1347867)

Utilizator hrazvanHarsan Razvan hrazvan Data 19 februarie 2015 12:17:19
Problema Redu Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

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
10ms276kbIncorect0
20ms292kbOK10
30ms348kbIncorect0
40ms456kbIncorect0
58ms840kbIncorect0
648ms1236kbIncorect0
748ms1236kbIncorect0
848ms1232kbIncorect0
948ms1232kbIncorect0
1048ms1232kbIncorect0
Punctaj total10

Ceva nu functioneaza?