Problem snowball
User meixu
Submission Time 2024-07-29 16:20:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snowball.cpp: In function ‘int main()’:
snowball.cpp:8:3: error: expected initializer before ‘for’
8 | for (i == 0; i < N, ++1) {
| ^~~
snowball.cpp:8:16: error: ‘i’ was not declared in this scope
8 | for (i == 0; i < N, ++1) {
| ^
snowball.cpp:8:25: error: lvalue required as increment operand
8 | for (i == 0; i < N, ++1) {
| ^
snowball.cpp:11:21: error: expected ‘}’ at end of input
11 | pqueue.push(size);
| ^
snowball.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^