eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:22:28: error: could not convert 'bridges.std::vector<std::pair<int, int> >::operator[](((std::vector<std::pair<int, int> >::size_type)i))' from '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'std::pair<int, int>'} to 'std::vector<int>'
22 | if(query(bridges[i])){
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type {aka std::pair<int, int>}
eastereggs.cpp:24:23: error: 'class std::vector<std::pair<int, int> >' has no member named 'first'
24 | v[0]=bridges.first;
| ^~~~~
eastereggs.cpp:18:48: warning: control reaches end of non-void function [-Wreturn-type]
18 | vector<vector<int> > cone(513,vector<int>());
| ^