← ALL NOTES
Array

2594. Minimum Time to Repair Cars

Given mechanic ranks ranks and a number of cars. A mechanic of rank r repairs n cars in r·n² minutes. All work in parallel. Find the minimum time to repair all cars. The number of repaired cars grows…

Loading…