Problem sumint
User wtnetlegend
Submission Time 2025-01-29 13:08:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:7:19: error: expected ‘;’ before ‘<=’ token
7 | for (int i = 1, i <= n; i++) {
| ^~~
| ;
sumint.cpp:7:20: error: expected primary-expression before ‘<=’ token
7 | for (int i = 1, i <= n; i++) {
| ^~
sumint.cpp:12:19: error: expected ‘}’ at end of input
12 | cout << totalmeow;
| ^
sumint.cpp:3:12: note: to match this ‘{’
3 | int main (){
| ^