Problem | ancestor |
---|---|
User | hwy |
Submission Time | 2023-08-19 10:23:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ancestor.cpp: In function ‘int main()’:
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:33:21: error: ‘x’ was not declared in this scope
33 | if (vis[x])
| ^