| Problem | ancestor |
|---|---|
| User | yuanbin |
| Submission Time | 2026-11-25 10:27:41 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ancestor.cpp:1:1: error: ‘vector’ does not name a type
1 | vector<int> adjlist[100005];
| ^~~~~~
ancestor.cpp: In function ‘void dfs(int, int)’:
ancestor.cpp:13:25: error: ‘adjlist’ was not declared in this scope
13 | for (auto neighbour : adjlist[cur]) {
| ^~~~~~~