Borderou de evaluare (job #2776996)
Utilizator | Data | 21 septembrie 2021 19:28:32 | |
---|---|---|---|
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:20:20: error: 'a' was not declared in this scope
cin >> a[i][j];
^
main.cpp:29:20: error: 'a' was not declared in this scope
if(a[i][k] && a[k][j] && (!a[i][j] || a[i][j] > a[i][k]+a[k][j]) && i != j)
^
main.cpp:40:21: error: 'a' was not declared in this scope
cout << a[i][j] << " " ;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !