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 1143. Electric Path

O(n^3) works...
Posted by Koala 27 Nov 2009 00:04
my O(n^3) dp got accepted in 0.89sec, though i used an O(n^2) algorithm later and ran much faster.
Re: O(n^3) works...
Posted by [Ural SU] GetTester 28 Nov 2009 14:50
Of course, it works. Moreover, my O(n^3) dp works in 0.48sec. And I'm sure, that it isn't limit. Obvious, that it's impossible to break O(n^3) solutions with current constraint for n.