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 1167. Bicolored Horses

Got my AC with C++ solution, the same Python3 solution gets TL2
Posted by renat-nasyrov 8 Aug 2016 20:00
Dear admins (if any), I've encountered the subject. Please give me some hints how to speed up my Python solution, because I've tried all the performance tricks I know and I still get TL2.
Re: Got my AC with C++ solution, the same Python3 solution gets TL2
Posted by morbidel 10 Aug 2016 20:31
You can post some details about your solution, for example the complexity your program has. A solution with N^3 complexity should fit in time (with c++).
Also post the core function (loops) of your code, maybe you have some mistakes and enter some endless loop.