Bhaiya help me with this ques pls

https://www.codechef.com/COOK129C/problems/VACCINE3

bhaiya kindly help i am unable to get it using the editorial

i have been thinking since yesterday but it is not getting ac

kindly reply
. . . . .

hello @laksh.rustagi12
replied in ur other thread please check

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.