Problem | hehehoho |
---|---|
User | FIips |
Submission Time | 2025-02-15 08:21:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
hehehoho.cpp: In function ‘void solve()’:
hehehoho.cpp:22:19: error: cannot convert ‘std::priority_queue<long long int>::top’ from type ‘const value_type& (std::priority_queue<long long int>::)() const’ {aka ‘const long long int& (std::priority_queue<long long int>::)() const’} to type ‘long long int’
22 | fir = pos.top; pos.pop();
| ^~~
hehehoho.cpp:23:19: error: cannot convert ‘std::priority_queue<long long int>::top’ from type ‘const value_type& (std::priority_queue<long long int>::)() const’ {aka ‘const long long int& (std::priority_queue<long long int>::)() const’} to type ‘long long int’
23 | sec = pos.top; pos.pop();
| ^~~
hehehoho.cpp:40:32: error: expected ‘;’ before ‘{’ token
40 | if(neg.size() && pos.size() {
| ^~
| ;
hehehoho.cpp:49:24: error: expected ‘)’ b