Newton and The Bouncy Apples
CodeChefOpen on judge ↗
Little Newtons loves nature. We all know the story of newton and apple but here is the twist, here for Litle Newton, apples are boucy and Each apple posses some energy $k$, after bouncing $k$ times, apple will stops and apple will not bounce again.There is milestone on every meter from the tree and on each milestone there is a number written on it. Now apple starts falling on the ground at $a$ m
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