eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:19:27: error: 'n' was not declared in this scope
19 | vector<vector<int>> g(n+1, vector<int>(n+1));
| ^
eastereggs.cpp:35:30: error: expected primary-expression before 'ask'
35 | if(query(vector<int> ask(order.begin(), order.begin() + mid)))
| ^~~
eastereggs.cpp:35:12: error: 'query' was not declared in this scope
35 | if(query(vector<int> ask(order.begin(), order.begin() + mid)))
| ^~~~~
eastereggs.cpp:40:12: error: 'q' was not declared in this scope
40 | return q[l];
| ^