Editorial for Back To School '19: Chemistry
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
Subtask 1
For the first subtask, we can encode each beaker with a unique binary number from
Time Complexity:
Subtask 2
For the second subtask, we can use the same process as subtask 1, except we have
Time Complexity:
Be careful with precision if you decide to use floating point calculations.
Comments