Borderou de evaluare (job #2570628)
Utilizator | Data | 4 martie 2020 18:10:16 | |
---|---|---|---|
Problema | Floyd-Warshall/Roy-Floyd | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Pink_Floyd()':
main.cpp:16:33: warning: the address of 'mat' will always evaluate as 'true' [-Waddress]
if(i != j && && mat[i][k] != INF && mat[k][k] != INF && mat[i][k] + mat[k][j] < mat[i][j])
^~~
main.cpp:16:36: error: expected ')' before '[' token
if(i != j && && mat[i][k] != INF && mat[k][k] != INF && mat[i][k] + mat[k][j] < mat[i][j])
^
main.cpp:16:33: error: label 'mat' used but not defined
if(i != j && && mat[i][k] != INF && mat[k][k] != INF && mat[i][k] + mat[k][j] < mat[i][j])
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !