Problem sumint
User Rigiddivot251112
Submission Time 2026-06-22 16:23:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
9 | ans += x;
| ^~~
| abs
sumint.cpp:11:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
11 | cout << ans;
| ^~~
| abs