Can anyone please explain the approach to solve this problem https://www.codechef.com/COOK107B/problems/SECRECP
Did you try referring to the Editorials
Can’t find the editorial.If you have please share the link.
Okay, i saw the editorial isn’t out yet…
If I am able to solve the problem i will let you know!