Problem sumint
User Yicen
Submission Time 2025-02-11 17:13:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:11:7: error: ‘i’ was not declared in this scope
11 | for (i=0,i<10,i++){
| ^
sumint.cpp:16:2: error: expected primary-expression before ‘return’
16 | return 0;
| ^~~~~~
sumint.cpp:15:20: error: expected ‘)’ before ‘return’
15 | cout<<total_meows;
| ^
| )
16 | return 0;
| ~~~~~~
sumint.cpp:11:6: note: to match this ‘(’
11 | for (i=0,i<10,i++){
| ^