cyberland.cpp: In function 'double solve(int, int, int, int, std::vector<int>, std::vector<int>, std::vector<int>, std::vector<int>)':
cyberland.cpp:40:27: error: no matching function for call to 'std::queue<int>::front(int)'
40 | vis[1]=true; Q.front(1); vis[H]=true;
| ^
In file included from /usr/include/c++/10/queue:64,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:86,
from cyberland.cpp:2:
/usr/include/c++/10/bits/stl_queue.h:216:7: note: candidate: 'std::queue<_Tp, _Sequence>::reference std::queue<_Tp, _Sequence>::front() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >; std::queue<_Tp, _Sequence>::reference = int&]'
216 | front()
| ^~~~~
/usr/include/c++/10/bits/stl_queue.h:216:7: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/10/bits/stl_queue.h:227:7: note: candidate: 'std::queue<_Tp, _Sequence>::const_reference std::queue<_Tp, _Sequence>::front() const [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >; std::queue<_Tp, _Sequence>::const_reference = const int&]'
227 | front() const
| ^~~~~
/usr/include/c++/10/bits/stl_queue.h:227:7: note: candidate expects 0 arguments, 1 provided