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

Compile Error

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