Mic and Pic
CodeChefOpen on judge ↗
Mic and Pic are siblings. They decided to help their mom with her work for n days of their vacations, where $n$ is even. First $n/2$ days, Mic will help and next $n/2$ days Pic will help. The person who helps get chocolates at the end of the day. Their mom gives any number of chocolates between $0$ to $9$ (both included) every day to Mic or Pic, whoever worked on that day. Now, Mic and Pic are try
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