eastereggs.cpp:6:6: error: variable or field 'dfs' declared void
6 | void dfs(ll node,par)
| ^~~
eastereggs.cpp:6:10: error: 'll' was not declared in this scope
6 | void dfs(ll node,par)
| ^~
eastereggs.cpp:6:18: error: 'par' was not declared in this scope
6 | void dfs(ll node,par)
| ^~~
eastereggs.cpp: In function 'int findegg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:24:5: error: 'dfs' was not declared in this scope; did you mean 'ffs'?
24 | dfs(1,1);
| ^~~
| ffs
eastereggs.cpp:25:17: error: request for member 'size' in 'e', which is of non-class type 'int'
25 | int l=0,e=e.size()-1;
| ^~~~
eastereggs.cpp:26:16: error: 'r' was not declared in this scope
26 | while (l < r)
| ^
eastereggs.cpp:30:54: error: invalid types 'int[int]' for array subscript
30 | for (int i = 0; i <= mid; i++) nw.push_back(e[i]);
| ^
eastereggs.cpp:34:13: error: invalid types 'int[int]' for array subscript
34 | return e[l];
| ^