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

BEBRAS 2024 Grade 9-10 Round 2 Ext Question 15

BEBRAS · BEBRAS 2024 Grade 9-10 Round 2 Ext

Question 15

Two robots move on the board with three commands: forward one square, turn left, or turn right.

Question illustration

The orange robot initially faces right and the blue robot faces left. Both receive exactly the same command sequence. They must reach the house without entering a gray obstacle cell.

Question illustration

What is the minimum number of commands in a common instruction sequence?
  1. 8
  2. 12
  3. 16
  4. 20