https://www.codechef.com/ENAU2020/problems/ECAUG203/

Can someone help here please!!!
I am not understanding how to do this question .Please Explain.

1 Like

You can have a look at the problem editorial-
Editorial ECAUG203.