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 1726. Visits

Why time limit exceeded
Posted by Arsenal911 (Samara) 14 Jul 2011 21:29
Why time limit exceeded on test#9?
Re: Why time limit exceeded
Posted by vlyubin 5 Aug 2012 07:05
Maybe you use O(n^2) algo? You can do it in linear time.
Re: Why time limit exceeded
Posted by vlyubin 5 Aug 2012 07:33
Or n*log(n).