Borderou de evaluare (job #1520440)
Utilizator | Data | 8 noiembrie 2015 19:06:46 | |
---|---|---|---|
Problema | Floyd-Warshall/Roy-Floyd | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cost()’:
user.cpp:23:74: error: invalid types ‘int[int]’ for array subscript
if(mat[i][j] && i!=j &&(mat[i][j]>mat[i][k]+mat[k][j] || !mat[i[j]))mat[i][j]=mat[i][k]+mat[k][j];
^
user.cpp:23:75: error: expected ‘]’ before ‘)’ token
if(mat[i][j] && i!=j &&(mat[i][j]>mat[i][k]+mat[k][j] || !mat[i[j]))mat[i][j]=mat[i][k]+mat[k][j];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !