Perfection Problem

How to solve the the Perfection problem of November Lunchtime. The link is https://www.codechef.com/LTIME78A/problems/PRFCTN
Please help!!

Also I request @admin to ensure that editorials of all problems of a contest are uploaded. There were 2 problems in lunchtime(November) whose editorial were not uploaded. Please look into it.

1 Like