Borderou de evaluare (job #1880991)
Utilizator | Data | 16 februarie 2017 08:34:48 | |
---|---|---|---|
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:10:12: error: ‘m’ was not declared in this scope
{ in>>n>>m;
^
user.cpp:18:9: error: ‘c’ was not declared in this scope
c[j] = a[x][j];
^
user.cpp:18:16: error: ‘a’ was not declared in this scope
c[j] = a[x][j];
^
user.cpp:22:17: error: ‘c’ was not declared in this scope
viz[x] = 1; c[0] = inf;
^
user.cpp:31:47: error: ‘a’ was not declared in this scope
if (!viz[i] and c[i] > c[min_c] + a[min_c][i])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !