Skip to content / Đến nội dung
ThichHocToan.com

IMSO 2024 Mathematics — International Short Answer Question 2

IMSO Science · IMSO 2024 Mathematics — International Short Answer

Question 2

The “IMSO Robot” is controlled by a gamepad with buttons ↑ ↓ → and ←. When ↑ is pressed 1 time, the “IMSO Robot” will go 1 unit to the north, ↓ is pressed 1 time, the “IMSO Robot” will go 1 unit to the south, → is pressed 1 time, the “IMSO Robot” will go 1 unit to the east, ← is pressed 1 time, the “IMSO Robot” will go 1 unit to the west.

Anna controls the “IMSO Robot” from A to B by pressing the buttons as follows:

↑ → → ↑ ← ↑ → → ↑ → ↓ ← ↑ ↑ ← ↓ → → → ↑ ← ↑ ↑ → ↓ ← ↓

Now, Bob wants to control the “IMSO Robot” from B to A. What is the least number of times that Bob has to press the buttons?