Problem | binaryroads |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-11 15:50:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
binaryroads.cpp: In function ‘long long unsigned int binaryroads(long long unsigned int)’:
binaryroads.cpp:26:17: error: ‘class std::priority_queue<trio, std::vector<trio>, std::greater<trio> >’ has no member named ‘front’
26 | ll cnode = pq.front().second;
| ^~~~~
binaryroads.cpp:27:18: error: ‘class std::priority_queue<trio, std::vector<trio>, std::greater<trio> >’ has no member named ‘front’
27 | ll ccount = pq.front().third;
| ^~~~~
binaryroads.cpp:39:5: error: ‘q’ was not declared in this scope; did you mean ‘pq’?
39 | q.push(temp);
| ^
| 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,