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

BEBRAS 2024 Grade 7-8 Round 2 Ext Question 10

BEBRAS · BEBRAS 2024 Grade 7-8 Round 2 Ext

Question 10

The robot starts in the bottom-left cell and must reach the gray top-right cell.

Question illustration

U moves up one cell, R right one cell, and D down one cell. It can remember at most five commands and repeat the same group as often as needed. Which listed group reaches the target with the fewest entries into white cells?
  1. RRURR
  2. RRRUR
  3. URRRD
  4. RURRR