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

BEBRAS 2024 Grade 9-10 Round 2 Ext Question 8

BEBRAS · BEBRAS 2024 Grade 9-10 Round 2 Ext

Question 8

Parcels come in small, medium and large sizes. The cabinet has compartments of types 1,2,3 as shown. Initially, X marks an occupied compartment; all others are empty.

Question illustration

Each compartment holds at most one parcel. Small parcels fit every type, medium parcels fit types 2 and 3, and large parcels fit only type 3. Each new parcel goes into the lowest-numbered empty compartment that can hold it. The events are:
1. Add two small parcels.
2. Remove the parcel in compartment 22.
3. Add one large parcel.
4. Add three small parcels.
5. Remove the parcel in compartment 15.
6. Add one medium parcel.
7. Remove the parcel in compartment 18.
8. Add one small parcel.

Which compartment receives the last parcel?
  1. 22
  2. 21
  3. 18
  4. 15