How many machines
CodeChefOpen on judge ↗
Chef sets up a factory with just 1 machine initially to manufacture more such machines. Chef uses the newly manufactured machines to manufacture more machines for 2 days and then sells them. At the end of 0th day, no machines were made. At the end of 1st day, only 2 more machines could be manufactured. On all the coming days, chef makes his machine more and more efficient such that on any given da
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.
Sign in to chat with the tutor and save your progress.
Sign in to start