← All problemsSign in

Chef and Fishing

Document Chef is fond of fishing . He and his friend are on their way for fishing . There was a special pond , where number of fishes double after every 2 days the number of fishes it had in "previous day" (suppose on day 1 and day 2 number of fishe are "X" then on day 3 number of fishes are "2X"). chef and his friends are catching fish for N days . You have to check if the pond is out of fishe

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