Lazy Carter
CodeChefOpen on judge ↗
Lately Chef’s immunity has been weak and he often has a cold due which he can’t taste anything as he usually used to do. So, Chef wants to make sure of the taste of the new cake recipe. For that purpose, he wants more and more people to have a taste of his recipe to make sure it is good enough for selling. So, help Chef cut his cake accordingly to get maximum pieces of cake for tasting. For this
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