eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:21:26: error: 'class std::vector<std::pair<int, int> >' has no member named 'second'
21 | listaAdy[bridges.second].push_back(bridges.first);
| ^~~~~~
eastereggs.cpp:21:52: error: 'class std::vector<std::pair<int, int> >' has no member named 'first'
21 | listaAdy[bridges.second].push_back(bridges.first);
| ^~~~~
eastereggs.cpp:22:26: error: 'class std::vector<std::pair<int, int> >' has no member named 'first'
22 | listaAdy[bridges.first].push_back(bridges.second);
| ^~~~~
eastereggs.cpp:22:51: error: 'class std::vector<std::pair<int, int> >' has no member named 'second'
22 | listaAdy[bridges.first].push_back(bridges.second);
| ^~~~~~
eastereggs.cpp:26:17: error: 'hi' was not declared in this scope
26 | int lo = 0; hi = N-1;
| ^~