Borderou de evaluare (job #1047437)
Utilizator | Data | 4 decembrie 2013 14:28:59 | |
---|---|---|---|
Problema | BFS - Parcurgere in latime | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:17:16: error: ‘i’ was not declared in this scope
coada.push(i);
^
user.cpp:24:17: error: ‘class std::queue<int>’ has no member named ‘top’
y=coada.top();
^
user.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:46:17: error: ‘y’ was not declared in this scope
cin>>x>>y;
^
user.cpp:47:14: error: ‘a’ was not declared in this scope
graf[a].push_back(b);
^
user.cpp:47:27: error: ‘b’ was not declared in this scope
graf[a].push_back(b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !