Problem duckhunt12
User gisellariddlemorozova834
Submission Time 2025-06-17 11:01:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt12.cpp: In function ‘int main()’:
duckhunt12.cpp:36:27: error: expected ‘}’ at end of input
36 | dirB *= -1;
| ^
duckhunt12.cpp:34:46: note: to match this ‘{’
34 | for (int move = 0; move < 2; ++move) {
| ^
duckhunt12.cpp:36:27: error: expected ‘}’ at end of input
36 | dirB *= -1;
| ^
duckhunt12.cpp:20:44: note: to match this ‘{’
20 | for (long long minute = 1; ; ++minute) {
| ^
duckhunt12.cpp:36:27: error: expected ‘}’ at end of input
36 | dirB *= -1;
| ^
duckhunt12.cpp:6:12: note: to match this ‘{’
6 | int main() {
| ^