Problem | sumint |
---|---|
User | Yicen |
Submission Time | 2025-02-11 17:12:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i=0,i<10,i++){
| ^
sumint.cpp:15:8: error: ‘total_meows’ was not declared in this scope
15 | cout<<total_meows;
| ^~~~~~~~~~~
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:10:6: note: to match this ‘(’
10 | for (i=0,i<10,i++){
| ^