Borderou de evaluare (job #2424357)
Utilizator | Data | 22 mai 2019 22:00:15 | |
---|---|---|---|
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 Roy()':
main.cpp:19:21: error: 'a' was not declared in this scope
if (a[i][j] > a[i][k] + a[k][j] || a[i][j] == 0)
^
main.cpp:14:15: warning: unused variable 'k' [-Wunused-variable]
int i, j, k;
^
main.cpp: In function 'int main()':
main.cpp:36:21: error: 'a' was not declared in this scope
fout << 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 !