Long Drive
Chef and Chefina are out on a long road trip. The average speed of the car after $10$ hours of driving is $X$ kilometres per hour. Chef wants to achieve an average speed of $Y$ kilometres per hour. Given that he can travel a maximum of $100$ kilometres in one hour, find the **minimum** number of additional **integer** hours required for him to reach the target average speed. ### Input - The
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