Need Help for a question in IOPC 2017

Can someone guide me for this question The Birthday Tears(https://www.codechef.com/IOPC2017/problems/IOPC17A)

Thanks in advance.

1 Like

Here : https://discuss.codechef.com/questions/96315/how-to-solve-this-question-of-iopc-2017

1 Like

Thank you @rohit_jere_rj

I did it. I am new to this forum . This is my first question.so i don’t know basics now onwards i will follow those . thank you

Link provided don´t work properly … any way, I think this topic could be closed due it was answered/redirected to another one more complete.