Chocolate For Zebi
CodeChefOpen on judge ↗
Zebi and Zikon are best friends and Zikon wants to give Zebi chocolate on the chocolate day. Zebi is standing at the top of AB-1, and there are n stairs to reach there from courtyard. But unfortunately some stairs are broken. Now, Zikon is determined to give Zebi the chocolate and won't give up. Zikon, has a talent of jumping over some stairs, so he goes to climb the stairs. Initially he can jump
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