Problem duckhunt12
User AtomicAtomXD
Submission Time 2026-01-30 16:03:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt12.cpp: In function ‘int main()’:
duckhunt12.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin >> n >> x >> y;
| ^~~
duckhunt12.cpp:7:13: error: ‘cout’ was not declared in this scope
7 | cout << time;
| ^~~~
duckhunt12.cpp:14:9: error: ‘elif’ was not declared in this scope
14 | elif (x == n and move_A == 1){
| ^~~~
duckhunt12.cpp:17:9: error: ‘else’ without a previous ‘if’
17 | else {
| ^~~~
duckhunt12.cpp:30:13: error: ‘else’ without a previous ‘if’
30 | else {
| ^~~~