eastereggs.cpp: In function 'void dfs(int, int)':
eastereggs.cpp:11:4: error: 'class std::vector<int>' has no member named 'pb'
q.pb(u);
^~
eastereggs.cpp:15:1: error: expected ';' before '}' token
}
^
eastereggs.cpp: In function 'int bin_search(int, int)':
eastereggs.cpp:19:3: error: 'm' was not declared in this scope
m = (l + r) >> 1;
^
eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:30:7: error: 'struct std::pair<int, int>' has no member named 'fi'
g[i.fi].pb(i.se);
^~
eastereggs.cpp:30:16: error: 'struct std::pair<int, int>' has no member named 'se'
g[i.fi].pb(i.se);
^~
eastereggs.cpp:31:7: error: 'struct std::pair<int, int>' has no member named 'se'
g[i.se].pb(i.fi);
^~
eastereggs.cpp:31:16: error: 'struct std::pair<int, int>' has no member named 'fi'
g[i.se].pb(i.fi);
^~