Minimum Speed
CodeChefOpen on judge ↗
You are student of UIET and currently at Rohtak Bus Stand. You have to reach the UIET Department . To commute to the UIET, you must take n Electric Cabs in sequential order. Take an integer array dist of length N, where **dist[i]** describes the distance (in kilometers) of the **ith** Electric Cabs ride from updated location. Each Electric Cabs can only depart at **an integer hour**, so you may n
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start