B1 - Jogging ( Easy Version )
CodeChefOpen on judge ↗
*Note: The problem statement in this and the slightly harder version is not same.* Subham has come to a circular race track to practice for hurdle race. The race track is divided into $N$ sections as you can see in the pic below: In each of the sections, he has placed some hurdles. The $i^{th}$ section has hurdles of height $h_i$. **He starts at section $1$ and he runs in direction of increasi
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