CAKE-FLY
CodeChefOpen on judge ↗
(You don't need to see the previous problem to solve this). After exploring cells in the city of tricks, Chef finally found out in which cell the culprit is residing. However, the culprit placed a magic lock on the door of the cell, which unlocks only if the following question is answered. The questions is: In how many ways you can express K as sum of N integers where the ith integer is not grea
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