Doubt in DILR set

Comments1

Superman - iQuanta
Taking 0 is part of the single-weighing trick: assign counts 0,1,2,...,11 to the 12 cartons, weigh all of them together, and the extra weight above 66 kg tells you which carton is heavy. The carton assigned 0 is identified precisely when weight = 66 kg exactly, so 0 is essential here. This works only when n >= 12, because every carton must actually have enough marbles to give away its assigned count. When n < 12 in further questions, you can take at most n marbles from any carton, so you cannot assign distinct values 0 through 11 in one go. One weighing no longer suffices, m > 1, and the multi-weighing strategy uses a different scheme (splitting cartons into groups), where assigning 0 to a whole group just means 'not weighed this round' and the logic changes completely. So: 0 appears when n >= 12 and you are doing one single weighing to cover all 12 cartons. For smaller n it drops out because the one-weighing scheme itself is no longer available.
Log in to join the discussion.