CHEF AND CAKE
CodeChefOpen on judge ↗
# Chef and cake Chef had made a special cake for this new year, but he knows that chefeta wants to taste the chef's special cake. So chef put that cake into a Safe and gave a small clue to chefeta to open the safe. There on the box, it is written as 5,13,25,41.......... under that chef has given three numbers i,j,k. And the pin for the Safe is the Sum of i th, j th,k th digits of the sequen
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