Problem heatwv
User FIips
Submission Time 2025-02-24 14:57:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

heatwv.cpp: In function ‘int32_t main()’:
heatwv.cpp:31:29: error: ‘x’ was not declared in this scope
31 | pq.push(make_pair((int) 0, x));
| ^
heatwv.cpp:36:30: error: ‘class std::priority_queue<std::pair<long long int, long long int> >’ has no member named ‘first’
36 | int x = cur.second, w = pq.first;
| ^~~~~