The Race
CodeChefOpen on judge ↗
Two bike riders A and B want to compete with each other. They wanted to have a race to prove who is best and the destination point is 180 km away from their starting point. A challenged B that he would start from 20km away from the starting point and he would reach the destination point X minutes before B finishes up the race. As race begin.. B travels first 1/3 of the distance with a speed of
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