eastereggs.cpp: In function 'int findEgg(int, std::vector<std::pair<int, int> >)':
eastereggs.cpp:23:10: error: invalid use of non-static member function 'void std::vector<_Tp, _Alloc>::clear() [with _Tp = long long int; _Alloc = std::allocator<long long int>]'
adj[i].clear;
~~~~~~~^~~~~
In file included from /usr/include/c++/7/vector:64:0,
from /usr/include/c++/7/queue:61,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:86,
from eastereggs.cpp:1:
/usr/include/c++/7/bits/stl_vector.h:1247:7: note: declared here
clear() _GLIBCXX_NOEXCEPT
^~~~~
eastereggs.cpp:46:16: error: could not convert 'ask' from 'std::vector<long long int>' to 'std::vector<int>'
if(query(ask)==1){
^