Grumpy Granny | CodeChef

can anyone help me with this problem? I am unable to come up with a solution

Hi @akshayakgec
You can find the editorial here at

1 Like