Benson the Rabbit’s plane has been overwhelmed by toxic bacteria, and he has to investigate it!
Benson the Rabbit has n species of bacteria. Each of them falls into exactly one of 3 types: Regular, Strong, Toxic. t of them are Toxic. It is guaranteed that there is at least 1 Toxic bacteria, i.e.t≥1. Note that Benson does not know the value of t.
Benson wants to identify the type of each bacteria. To analyze the bacteria, he can place bacteria specimens into a machine. He can specify the species of each bacteria, and he can add any number of each species into the machine, including 0. This forms a single sample. Due to size constraints, the total number of bacteria in a sample cannot exceed 300.
Each of the 3 types of bacteria have the following properties:
After a sample is selected, the machine will tell Benson how many bacteria survived in total. Each use of the machine takes time, and Benson does not have a lot of time. He may only use the machine up to 600 times. Help Benson determine for each bacteria, whether it is Regular, Strong or Toxic in as few samples as possible.