← All problemsSign in

Haji and the crow

Haji loves chicken biryani very much . So he asks his wife to prepare it for the dinner . He buys W unit of chicken . But on his way back to home he was attacked by few crows and the chicken was snatched . Haji was very upset and from that day he decided to hunt down all crows. Fearing this Kammo Haji's friend decided to go against him and save the crows but he manages to save only N crows, where

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