eastereggs.cpp:8:18: error: 'par' has not been declared
8 | void dfs(ll node,par)
| ^~~
eastereggs.cpp: In function 'void dfs(long long int, int)':
eastereggs.cpp:12:15: error: 'par' was not declared in this scope
12 | if(i==par) continue;
| ^~~
eastereggs.cpp: In function 'long long int findegg(long long int, std::vector<std::pair<long long int, long long int> >)':
eastereggs.cpp:27:16: error: request for member 'size' in 'e', which is of non-class type 'long long int'
27 | ll l=0,e=e.size()-1;
| ^~~~
eastereggs.cpp:28:16: error: 'r' was not declared in this scope
28 | while (l < r)
| ^
eastereggs.cpp:32:54: error: invalid types 'long long int[long long int]' for array subscript
32 | for (int i = 0; i <= mid; i++) nw.push_back(e[i]);
| ^
eastereggs.cpp:33:19: error: could not convert 'nw' from 'vector<long long int>' to 'vector<int>'
33 | if (query(nw)) r = mid;
| ^~
| |
| vector<long long int>
eastereggs.cpp:36:13: error: invalid types 'long long int[long long int]' for array subscript
36 | return e[l];
| ^