Borderou de evaluare (job #2808231)
Utilizator | Data | 24 noiembrie 2021 19:19:39 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:25: error: 'NM' was not declared in this scope
11 | vector <pair<int,int>>v[NM]; //lista adiacenta + cost
| ^~
main.cpp: In function 'void bell(int)':
main.cpp:21:23: error: 'v' was not declared in this scope
21 | for(int i=0;i<v[x].size();i++)
| ^
main.cpp: In function 'int main()':
main.cpp:54:9: error: 'v' was not declared in this scope
54 | v[x].push_back(make_pair(y,c));
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !