← All problemsSign in

Vikrant Runs

Vikrant went to his house for winter vacations, when he came back to college he found that he was overweight. Vikrant did not have enough time and energy to spend on workout and exercise, he decided that he will go for a run every morning and he will run the exact distance $D$ which will keep him healthy as well has save his energy for the rest of the day. There are $N$ locations in the city wh

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start