Borderou de evaluare (job #2256264)
Utilizator | Data | 8 octombrie 2018 13:21:40 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:74:13: error: expected ‘;’ before ‘auto’
auto it = std::find(graph[neighbour].begin(), graph[neighbour].end(), node);
^~~~
user.cpp:75:14: error: ‘it’ was not declared in this scope
*it = -1;
^~
user.cpp: In function ‘std::vector<int> buildEulerianCycle()’:
user.cpp:90:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:111:62: error: too many arguments to function ‘std::vector<int> buildEulerianCycle()’
std::vector<int> eulerianCycle = buildEulerianCycle(graph);
^
user.cpp:88:18: note: declared here
std::vector<int> buildEulerianCycle() {
^~~~~~~~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !