Horse Game
CodeChefOpen on judge ↗
Rahul has a special bond with horses. From his childhood, he used to go for horse riding and watch a horse race with his father. He invited his friends to the stable this weekend to watch the horse race. He wants his friends to enjoy the race and so he wants the race to be close. This can happen only if the Horses are comparable on their power i.e. the difference in their power is less. There a
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