eastereggs.cpp: In function 'void dfs(int, int, bool)':
eastereggs.cpp:20:10: error: too few arguments to function 'void dfs(int, int, bool)'
dfs(v,u);
^
eastereggs.cpp:17:6: note: declared here
void dfs(int u,int p,bool pushed) {
^~~
eastereggs.cpp: In function 'int ask(int, int)':
eastereggs.cpp:38:7: warning: unused variable 'temp' [-Wunused-variable]
bool temp=query(v);
^~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:52:9: error: 'used' was not declared in this scope
memset(used,false,sizeof(used));
^~~~
eastereggs.cpp:52:9: note: suggested alternative: 'se'
memset(used,false,sizeof(used));
^~~~
se
eastereggs.cpp:54:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^