Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
What if you only have one shot? Eg. 4 buckets, 15 mins to die, and 15 mins to test.
How many states can we generate with x pigs and T tests?
Find minimum <code>x</code> such that <code>(T+1)^x >= N</code>