← All problemsSign in

Hungry Game

Saurabh and Pranav play the popular game of Hungry Birds on windows and android phones respectively. The game goal is to destroy birds in the Hungry Birds Game. A certain number of points is given for destroying each bird depending on the bird type and the current factor value. There are n types of Hungry Birds. The number of birds of type ai and bird cost ci is known for each bird type. A playe

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