Borderou de evaluare (job #2300844)
Utilizator | Data | 12 decembrie 2018 10:34:42 | |
---|---|---|---|
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 'int main()':
main.cpp:21:60: error: two consecutive '[' shall only introduce an attribute before '[' token
if( a[k][j] && a[i][k] && ( a[i][j] > a[i][k]+a[[k][j] || !a[i][j] ) && i != j )
^
main.cpp:21:60: error: expected ')' before '[' token
main.cpp:22:39: error: expected ')' before ';' token
a[i][j] = a[i][k]+a[[k][j];
^
main.cpp:33:1: error: expected '}' at end of input
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !