Borderou de evaluare (job #2392614)
Utilizator | Data | 30 martie 2019 11:08:58 | |
---|---|---|---|
Problema | Radiatie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:20:1: error: 'vector' does not name a type
vector <int> graph[NMAX];
^~~~~~
main.cpp: In function 'void unite(int, int, int)':
main.cpp:44:9: error: 'graph' was not declared in this scope
graph[b].push_back(a);
^~~~~
main.cpp:51:9: error: 'graph' was not declared in this scope
graph[a].push_back(b);
^~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:56:19: error: 'graph' was not declared in this scope
for (auto it: graph[node]) {
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !