This is my first problem in Codechef and my logic solves all the example test cases but fails in the time limit. Can someone provide a suggestion on how to improvise?
This is my first problem in Codechef and my logic solves all the example test cases but fails in the time limit. Can someone provide a suggestion on how to improvise?