Problem sumint
User 90Dream09
Submission Time 2026-01-28 15:39:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:11:7: error: expected ‘;’ before ‘)’ token
11 | for(x){
| ^
| ;
sumint.cpp:17:10: error: ‘v’ was not declared in this scope
17 | cout << v;
| ^
sumint.cpp:18:2: error: expected primary-expression before ‘return’
18 | return 0;
| ^~~~~~
sumint.cpp:17:12: error: expected ‘)’ before ‘return’
17 | cout << v;
| ^
| )
18 | return 0;
| ~~~~~~
sumint.cpp:11:5: note: to match this ‘(’
11 | for(x){
| ^