Problem stonk
User Henries
Submission Time 2024-10-22 22:34:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stonk.cpp: In function ‘void solve(std::vector<long long int>, std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> > >, long long int)’:
stonk.cpp:7:8: error: parse error in template argument list
7 | while(count<total){
| ^~~~~~~~~~~
stonk.cpp:7:8: error: cannot resolve overloaded function ‘count’ based on conversion to type ‘bool’