Problem 455C
I was trying to solve problem 455C in Python. Here is my solution for the same in python (code). But this is giving me TLE in Test Case 5, though I got AC in Java code. Can someone help me?