← All problemsSign in

Panda and Momos

Problem description. Po is a fat panda weighing X kgs. Since he works very hard as a Bamboo Warrior, everyday, he loses 1Kg at the very beginning of the day. Each afternoon, Tigress Tai brings him a plate of momos (possibly zero in number). He can either choose to eat all of it, or reject everything. But some of the Momos were poisoned by Kai, the big villain. If Po decides to eat all the Momos

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