Problem binaryroads
User PlayVoltz
Submission Time 2023-09-11 15:50:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

binaryroads.cpp: In function ‘long long unsigned int binaryroads(long long unsigned int)’:
binaryroads.cpp:25:10: error: ‘q’ was not declared in this scope; did you mean ‘pq’?
25 | while (!q.empty()){
| ^
| pq
In file included from /usr/include/c++/9/string:48,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from binaryroads.cpp:1:
/usr/include/c++/9/bits/stl_function.h: In instantiation of ‘constexpr bool std::greater<_Tp>::operator()(const _Tp&, const _Tp&) const [with _Tp