← All problemsSign in

Balloon Blast

Rahul goes to a park and sees a balloon blasting competition. In the competition the player has a gun and there are n balloons in front of him stuck to the wall,every player gets $F$ bullets to blast the balloons, on every balloon there is a 5 digit number, the player gets the money equal to the sum of numbers on the balloons he blasted. Rahul is fond of Prime numbers and he will only blast prim

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