Problem sumint
User Ningja
Submission Time 2023-11-08 11:25:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:8:19: error: expected ‘;’ before ‘<=’ token
8 | for (int i = 1, i <= n, i++) {
| ^~~
| ;
sumint.cpp:8:20: error: expected primary-expression before ‘<=’ token
8 | for (int i = 1, i <= n, i++) {
| ^~
sumint.cpp:8:29: error: expected ‘;’ before ‘)’ token
8 | for (int i = 1, i <= n, i++) {
| ^
| ;