CHOCOLATE OVER WIN
CodeChefOpen on judge ↗
Ron is participating in $N$unit jumping race. He is very good at jumping. Shawn being jealous of Ron knows his weakness that Ron loves chocolates and he will surely eat one when encountered even in race which he decide to use against Ron in this race. Shawn knows that Ron will only eat the chocolate if he encounters that chocolate when *he is on ground and not in air*. Shawn not knowing the jump
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