← All problemsSign in

Shoot the Balloon

Shoot The Balloon Showndarya is going to The Gregg County Fair with her family this weekend. There is a balloon shooting game here, like there is in every other fair. But the rules of this game are different. A participant has to shoot balloons, each of which is labeled with lowercase alphabetic letters. A participant has to shoot exactly k balloons the letters of which form an increasing subsequ

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