Problem reverseandmin
User maomao90
Submission Time 2023-12-07 21:54:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘int main()’:
reverseandmin.cpp:59:4: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
59 | ans++;
| ^~~
| abs
reverseandmin.cpp:62:10: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
62 | cout << ans << '\n';
| ^~~
| abs