Problem | ancestor |
---|---|
User | hwy |
Submission Time | 2023-08-19 10:23:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ancestor.cpp: In function ‘int main()’:
ancestor.cpp:32:14: error: declaration of ‘auto neighbour’ has no initializer
32 | for (auto neighbour, edges[cur]) {
| ^~~~
ancestor.cpp:32:36: error: ‘cur’ was not declared in this scope; did you mean ‘curr’?
32 | for (auto neighbour, edges[cur]) {
| ^~~
| curr
ancestor.cpp:32:40: error: expected ‘;’ before ‘)’ token
32 | for (auto neighbour, edges[cur]) {
| ^
| ;
ancestor.cpp:32:40: error: expected primary-expression before ‘)’ token
ancestor.cpp:32:40: error: expected ‘;’ before ‘)’ token
32 | for (auto neighbour, edges[cur]) {
| ^
| ;
ancestor.cpp:33:21: error: ‘x’ was not