eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:24:15: error: too many arguments to function 'void dfs(int, int)'
24 | dfs(1,-1,e); assert(e.size() == n + 1);
| ^
eastereggs.cpp:8:6: note: declared here
8 | void dfs(int a = 1,int p = -1)
| ^~~
In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from grader.h:1,
from eastereggs.cpp:3:
eastereggs.cpp:24:37: error: 'n' was not declared in this scope
24 | dfs(1,-1,e); assert(e.size() == n + 1);
| ^