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

Bebras 2022 - Level 4 Question 7

BEBRAS · Bebras 2022 - Level 4

Question 7

Some fish swim in the following order.

Question illustration

When someone says two numbers A and B, with A<B:
- Every fish before position A (to the left in the picture) swims away. At the same time every fish after position B swims away.
- The remaining fish keep their positions and are renumbered from 1, front to back (left to right).

For example, if someone says 2 and 16, the remaining fish are:

Question illustration

Starting with the original 20 fish, perform these changes:
- Someone says 4 and 18.
- Then someone says 6 and 12.
- Finally someone says 2 and 5.

What is the resulting order of the remaining fish?
  1. Question illustration
  2. Question illustration
  3. Question illustration
  4. Question illustration