Borderou de evaluare (job #1881219)
Utilizator | Data | 16 februarie 2017 11:51:10 | |
---|---|---|---|
Problema | Algoritmul lui Dijkstra | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:61: error: ‘a’ was not declared in this scope
for (unsigned int j = 0; j < A[x].size(); j++) d[j] = a[x][j];
^
user.cpp:26:47: error: ‘a’ was not declared in this scope
if (!viz[i] and d[i] > d[min_c] + a[min_c][i])
^
user.cpp:30:57: error: ‘c’ was not declared in this scope
if (d[i] == inf) out << -1 << " "; else out << c[i] << " ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !