eastereggs.cpp: In function 'void dfs(int)':
eastereggs.cpp:15:7: error: request for member 'push_back' in 'b', which is of non-class type 'std::vector<int> [1005]'
15 | b.push_back(a);
| ^~~~~~~~~
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:40:17: error: request for member 'size' in 'b', which is of non-class type 'std::vector<int> [1005]'
40 | int l=0,r=b.size()-1,ans=0,m;
| ^~~~
eastereggs.cpp:43:9: error: 'm' was not declared in this scope
43 | m=l+(r-l)/2;
| ^
eastereggs.cpp:59:12: error: 'm' was not declared in this scope
59 | return m;
| ^