IS THIS A STANDARD QUESTION
CodeChefOpen on judge ↗
My friend Ameya has gained some weight this quarantine . His mother is concerned about his health so she told him to loose his weight . Ameya is very lazy boy ,he does not want to go outside for a walk and he managed to convince his mother that due to COVID concerns he will do exercise in his building itself. There are total $N$ steps in his building. Ameya is on the $1st$ step and he need's
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