Keep It Cool

Limits 1s, 512 MB · Custom Checker

As the workload of the semester is ramping up you get the task of refilling the fridge in the lab with soda. The fridge has s slots, each with a capacity for d bottles of soda, and you have n new soda bottles to add to the fridge. The sodas currently in the fridge are all nice and cold, but the new ones are not and need to be cooled in the fridge for a while until they are ready to drink.


This is a companion discussion topic for the original entry at https://toph.co/p/keep-it-cool