Borderou de evaluare (job #2072931)
Utilizator | Data | 22 noiembrie 2017 14:42:38 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:3:1: error: ‘vector’ does not name a type
vector<int>adj[Nmax];
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:9:19: error: ‘adj’ was not declared in this scope
for(int i=0;i<adj[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:23:9: error: ‘adj’ was not declared in this scope
adj[a].push_back(b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !