Timeline for Codeforces problem python code optimization
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 12, 2014 at 4:00 | vote | accept | Vivek Rai | ||
Jun 24, 2013 at 15:29 | comment | added | cat_baxter | I'm not sure that the task is solvable using python or any interpreted language at all. As you can see there aren't any python/ruby/.. solution and the fastest c++ solution time is 100 ms, so it's just impossible to run faster than may be ~2-5 seconds for a python solution. There is the list of failed (due to time limit) solutions - just apply the status filter (Python 2 or Python 3 and the Verdict like the 'Time limit...'). | |
Jun 24, 2013 at 14:51 | comment | added | SylvainD | I've added an answer. I don't have the right version of python handy but it should again make your script orders of magnitude faster. I'd be interested in the results if you were to perform performances tests with a high number of ants. | |
Jun 24, 2013 at 14:47 | answer | added | SylvainD | timeline score: 1 | |
Jun 23, 2013 at 19:59 | vote | accept | Vivek Rai | ||
Oct 12, 2014 at 4:00 | |||||
Jun 23, 2013 at 19:58 | history | edited | Vivek Rai | CC BY-SA 3.0 |
added 137 characters in body
|
Jun 23, 2013 at 19:44 | vote | accept | Vivek Rai | ||
Jun 23, 2013 at 19:59 | |||||
Jun 23, 2013 at 18:18 | answer | added | SylvainD | timeline score: 1 | |
Jun 23, 2013 at 16:05 | review | First posts | |||
Jun 23, 2013 at 17:33 | |||||
Jun 23, 2013 at 15:50 | history | asked | Vivek Rai | CC BY-SA 3.0 |