ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1104. Don’t Ask Woman about Her Age

Can you solve it in python within the time limit?
Posted by LearningPython 31 Aug 2013 03:54
My python 3.3 program has TLE in problem 12.
Has anyone a hint to speed up this algorithm.
Re: Can you solve it in python within the time limit?
Posted by LearningPython 24 Sep 2013 12:04
Changing to python 2.7.5 was enough to get AC
Re: Can you solve it in python within the time limit?
Posted by Ivan Avdonin (Vologda ML, MSU) 1 May 2020 05:51
Tried to solve in Python 2.7.18 and Python 3.8.2. Time limit exceeded on test 12 with time 1.015 s. Rewrote it in C and got 'accepted' with 0.031 s.