Boring assignments
CodeChefOpen on judge ↗
Submission days are approaching. Kirve wants to complete his K pending assignments as soon as possible. He can write at max N pages with his pen. He cannot afford to buy a new pen so he has to write with this pen only. Each assignment he wants to complete may have different number of pages.He decides to complete the assignments in given order only. He is weak in maths,help him to find the number
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