Chewing Gum
CodeChefOpen on judge ↗
Mr. Sharma loves kids. Every Sunday he make sure he spends some time with the colony kids. He gathers the kids and gives them catching practice. For every catch caught, the kids are given +1 points. For every catch dropped, a point is deducted. At the end, the kids are given chewing gums depending on their score. Calculate the score of each kid. Input The first line contains the number of kids N
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