Problem voting
User PlayVoltz
Submission Time 2024-02-07 09:07:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

voting.cpp: In function ‘int32_t main()’:
voting.cpp:21:31: error: ‘pq’ was not declared in this scope
21 | while (!cost.empty()&&done[pq.top().se])pq.pop();
| ^~