| Problem | sumint |
|---|---|
| User | Ayden67 |
| Submission Time | 2026-09-04 11:28:11 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:20: error: expected ‘;’ before ‘)’ token
7 | for (n=0, x>n, n++){
| ^
| ;
sumint.cpp:12:2: error: expected primary-expression before ‘return’
12 | return 0;
| ^~~~~~
sumint.cpp:11:12: error: expected ‘)’ before ‘return’
11 | cout << y;
| ^
| )
12 | return 0;
| ~~~~~~
sumint.cpp:7:6: note: to match this ‘(’
7 | for (n=0, x>n, n++){
| ^