Problem sumint
User CoderBC
Submission Time 2025-02-21 15:47:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:8:11: error: expected initializer before ‘+=’ token
8 | int ans += b;
| ^~
sumint.cpp:10:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
10 | cout << ans;
| ^~~
| abs