Problem skillmoves
User Henries
Submission Time 2024-10-17 10:33:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skillmoves.cpp: In function ‘void solve(std::vector<long long int>, long long int)’:
skillmoves.cpp:7:7: error: ‘pq’ was not declared in this scope
7 | if (pq.top().first <= currentlevel){
| ^~
skillmoves.cpp: In function ‘int main()’:
skillmoves.cpp:32:8: error: ‘m’ was not declared in this scope
32 | solve(m,k);
| ^