← All problemsSign in

Lohit and Tower Jump

Problem description. Lohit is a playing a video where the character's name happens to be Hooka. Hooka is yet to begin the game, and he can begin the game by starting from any tower of his choice from N towers in the game. Each ith tower has a bag of gold coins given by G[i], height H[i], position on X-Co-Ordinate X[i] and limiting distance J[i].Limiting Distance is the distance uptil which it c

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