Borderou de evaluare (job #2045974)
Utilizator | Data | 23 octombrie 2017 10:37:27 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:1: error: ‘vector’ does not name a type
vector <int> G[nm];
^
user.cpp: In function ‘int main()’:
user.cpp:13:18: error: ‘G’ was not declared in this scope
if(x!=y) G[x].push_back(y);
^
user.cpp:20:9: error: ‘z’ was not declared in this scope
z=c[p]; p++;
^
user.cpp:21:19: error: ‘G’ was not declared in this scope
for(i=0;i<G[z].size;i++)
^
user.cpp:33:9: error: ‘fout’ was not declared in this scope
fout<<viz[i]-1<<' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !