Problem snowball
User Henries
Submission Time 2024-10-08 11:24:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snowball.cpp: In function ‘void solve(std::priority_queue<long long int>, long long int)’:
snowball.cpp:5:12: error: assignment of read-only location ‘pq.std::priority_queue<long long int>::top()’
5 | pq.top() += 1;
| ~~~~~~~~~^~~~