Problem quackarmy
User LeoYoungLion
Submission Time 2026-11-27 13:17:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

quackarmy.cpp: In function ‘int32_t main()’:
quackarmy.cpp:18:27: error: ‘pq’ was not declared in this scope
18 | sum += (k - i) * (int)(pq.back());
| ^~