Minimum Time to Repair Cars
Binary search the time: a mechanic with rank r repairs floor(sqrt(t / r)) cars in t minutes, so the total is monotone.
Binary search the time: a mechanic with rank r repairs floor(sqrt(t / r)) cars in t minutes, so the total is monotone.