Problem moneychanger
User AaravRastogi
Submission Time 2025-12-17 20:30:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:25:9: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
25 | ans += v / c;
| ^~~
| abs
moneychanger.cpp: At global scope:
moneychanger.cpp:32:1: error: expected declaration before ‘}’ token
32 | }
| ^