Problem sumint
User Tianrui
Submission Time 2024-03-18 17:56:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:7:30: error: lvalue required as increment operand
7 | for (int i = 0; i < days; ++1) {
| ^
sumint.cpp:18:10: error: expected ‘;’ before ‘}’ token
18 | return 0
| ^
| ;
19 | }
| ~