Problem moneylaundering
User sohjiaxian
Submission Time 2025-12-29 14:33:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneylaundering.cpp: In function ‘int main()’:
moneylaundering.cpp:12:3: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
12 | ans = (a*x)/b*0.9;
| ^~~
| abs
moneylaundering.cpp:14:14: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
14 | cout << max(ans,x);
| ^~~
| abs