eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:11:29: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'fi'
11 | if(query(bridges[0].fi)){
| ^~
eastereggs.cpp:12:31: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'fi'
12 | return bridges[0].fi;
| ^~
eastereggs.cpp:14:32: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'se'
14 | else return bridges[0].se;
| ^~
eastereggs.cpp:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i=0;i<bridges.size() and s.size()<N/2;i++){
| ~^~~~~~~~~~~~~~~
eastereggs.cpp:31:50: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
31 | for(int i=0;i<bridges.size() and s.size()<N/2;i++){
| ~~~~~~~~^~~~
eastereggs.cpp:33:33: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'fi'
33 | s.insert(bridges[i].fi);
| ^~
eastereggs.cpp:34:33: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'se'
34 | s.insert(bridges[i].se);
| ^~
eastereggs.cpp:37:36: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'fi'
37 | s.erase(bridges[i].fi);
| ^~
eastereggs.cpp:38:36: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'se'
38 | s.erase(bridges[i].se);
| ^~
eastereggs.cpp:62:17: error: 'bridge_int' was not declared in this scope; did you mean 'bridge_ind'?
62 | if(!bridge_int.count(i)){
| ^~~~~~~~~~
| bridge_ind