Problem oranges2
User PlayVoltz
Submission Time 2023-09-06 12:50:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

oranges2.cpp: In function ‘void precalc(long long int)’:
oranges2.cpp:54:20: error: cannot convert ‘const value_type’ {aka ‘const std::pair<long long int, long long int>’} to ‘long long int’ in initialization
54 | ll cnode = pq.top();
| ~~~~~~^~
| |
| const value_type {aka const std::pair<long long int, long long int>}