eastereggs.cpp:8:44: error: default argument missing for parameter 3 of 'void dfs(int, int, std::vector<int>&)'
8 | void dfs(int a = 1,int p = -1,vector<int> &e)
| ~~~~~~~~~~~~~^
eastereggs.cpp:8:14: note: ...following parameter 1 which has a default argument
8 | void dfs(int a = 1,int p = -1,vector<int> &e)
| ~~~~^~~~~
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: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:25:37: error: 'n' was not declared in this scope
25 | dfs(1,-1,e); assert(e.size() == n + 1);
| ^