Banta needs help
CodeChefOpen on judge ↗
As we all know that Santa and Banta are good friends and they use to tease each other by giving mathematical questions to each other . So one day Santa has designed a problem for Banta . What Banta has to do is to count total number of chocolates , and the chocolate distribution is as follows , There are N students whom chocolate is to be distributed . Santa aligned each student in a line accordin
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