Please help me with this problem. I get WA and TLE in subtask 3.
Problem: https://www.codechef.com/problems/RGAME
My code : Solution: 14494823
Please help me with this problem. I get WA and TLE in subtask 3.
Problem: https://www.codechef.com/problems/RGAME
My code : Solution: 14494823