| Problem | sumint |
|---|---|
| User | friendlyfexr |
| Submission Time | 2026-06-14 15:53:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:13:7: error: ‘i’ was not declared in this scope
13 | for (i=0, i<numbers.length(), i++) {
| ^
sumint.cpp:24:2: error: expected primary-expression before ‘return’
24 | return 0;
| ^~~~~~
sumint.cpp:22:14: error: expected ‘)’ before ‘return’
22 | cout << sum;
| ^
| )
23 |
24 | return 0;
| ~~~~~~
sumint.cpp:13:6: note: to match this ‘(’
13 | for (i=0, i<numbers.length(), i++) {
| ^