Problem duckhunt12
User Zhuoxun
Submission Time 2025-08-15 14:24:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt12.cpp: In function ‘int32_t main()’:
duckhunt12.cpp:10:5: error: ‘aPos’ was not declared in this scope; did you mean ‘acos’?
10 | aPos = x;
| ^~~~
| acos
duckhunt12.cpp:11:5: error: ‘bPos’ was not declared in this scope
11 | bPos = y;
| ^~~~
duckhunt12.cpp:12:5: error: ‘aDir’ was not declared in this scope
12 | aDir = 1;
| ^~~~
duckhunt12.cpp:13:5: error: ‘bDir’ was not declared in this scope
13 | bDir = 0;
| ^~~~