eastereggs.cpp:1:31: error: 'pair' was not declared in this scope
1 | int findEgg ( int n, vector < pair <int, int> > bridges ) {
| ^~~~
eastereggs.cpp:1:31: error: 'pair' was not declared in this scope
eastereggs.cpp:1:31: error: 'pair' was not declared in this scope
eastereggs.cpp:1:31: error: 'pair' was not declared in this scope
eastereggs.cpp:1:22: error: 'vector' has not been declared
1 | int findEgg ( int n, vector < pair <int, int> > bridges ) {
| ^~~~~~
eastereggs.cpp:1:29: error: expected ',' or '...' before '<' token
1 | int findEgg ( int n, vector < pair <int, int> > bridges ) {
| ^
eastereggs.cpp: In function 'int findEgg(int, int)':
eastereggs.cpp:2:10: error: 'query' was not declared in this scope
2 | if ( query ( {1} ) == 1 ) {
| ^~~~~