SPOJ Discussion board

[Solved] 20970. Alia and Handsome Devil - TLE

Languages & compilers Python

You have selected 0 posts.

select all

cancel selecting

vamsi_ism
Nov '14

Time limit for this problem is 0.019s which IMO is not sufficient to solve with Python.
Let me know if this problem is solvable in python.
Thank you.

PS: My code got accepted in Hackerrank(the resource of this problem)
Link: https://www.hackerrank.com/contests/codehurdle/challenges/aliadevil6

Edit: TL was increased, now it is solvable.

share a link to this topic