← All problemsSign in

Alien_life

An alien of height 1ft accidentally landed on an island at 10:00 AM. It needs to eat to survive else it will die in one hour. While there are X amount of resources present on the island, for every resource it consumes, it doubles its height and it takes Y mins to eat one resource. The Alien will die if it comes to its original height. If the alien decreases its height by 1ft for every Z mins. (It

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