Recently I was solving a gym contest and came across this problem:http://codeforces.com/gym/100739/problem/D. I have absolutely no idea as to how to solve it? Could someone give some ideas regarding the solution?
Solution to Gym Problem?
Recently I was solving a gym contest and came across this problem:http://codeforces.com/gym/100739/problem/D. I have absolutely no idea as to how to solve it? Could someone give some ideas regarding the solution?