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

Bebras 2022 - Level 4 Question 11

BEBRAS · Bebras 2022 - Level 4

Question 11

Beavers often use beads to make decorations. To communicate easily they use symbols to describe their shapes: S for a star, T for a triangle, R for a rectangle and L for a line segment. They use three rules to shorten a description:
- Consecutive identical beads can be shortened by putting their number in front. For example, 4S means four consecutive star beads.
- A repeating group of beads can be described by its repeat count followed by the group's description in parentheses.
- Otherwise write the letter representing the bead.

For example, the bead string below can be written S 3(TR) 3S L, which contains 9 characters excluding spaces.

Question illustration

What is the fewest characters needed to describe the following string?

Question illustration
  1. 12
  2. 13
  3. 14
  4. 15