Problem duckhunt32
User AaravRastogi
Submission Time 2025-12-17 12:36:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt32.cpp: In function ‘int main()’:
duckhunt32.cpp:15:5: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
15 | ans++;
| ^~~
| abs
duckhunt32.cpp:20:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
20 | cout << ans ;
| ^~~
| abs