← All problemsSign in

Life of an Amoeba

Chef is a student of Biology. He has been given an assignment, he was given an amoeba to observe. Chef was supposed to study the pattern of its cell division and report the total number of cells that were under observation after M days. Chef was given enough time to complete his assignment, but he remembered it only on the day when it was his deadline. Chef got some data from one of his seniors re

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