eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:27:16: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17'
27 | if(!query(vector<int>(e.begin() + 1,e.begin() + 1 + (ans + pas))) ans += pas;
| ^
eastereggs.cpp:27:78: error: expected ';' before 'ans'
27 | if(!query(vector<int>(e.begin() + 1,e.begin() + 1 + (ans + pas))) ans += pas;
| ^~~~
| ;
eastereggs.cpp:27:16: warning: value computed is not used [-Wunused-value]
27 | if(!query(vector<int>(e.begin() + 1,e.begin() + 1 + (ans + pas))) ans += pas;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eastereggs.cpp:28:9: error: expected primary-expression before '}' token
28 | }
| ^
eastereggs.cpp:27:90: error: expected ')' before '}' token
27 | if(!query(vector<int>(e.begin() + 1,e.begin() + 1 + (ans + pas))) ans += pas;
| ~ ^
| )
28 | }
| ~
eastereggs.cpp:28:9: error: expected primary-expression before '}' token
28 | }
| ^