← All problemsSign in

Bouncing! Bomb!!

The Barleyans have an _explosive_ problem at their hands. The people of Baradis island have developed a new bomb, known as _Boundobomb_. Baradis, seeing that all the cities in Barley are arranged in a linear manner, developed a bomb, that rather than exploding in just 1 place, bounces after each explosion, and wreaks havoc on each and every bounce. The distance of the bounce is decided by how much

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