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 1421. Credit Operations

Help (TLE #12, O(V*E^2))
Posted by elmariachi1414 (TNU) 11 Jan 2007 04:47
I implemented O(V*E^2) and received TLE #12.
Please, give me any hint!

My program runs very slow (about 7 sec) on maximal test
100
10000 10000 10000 ...
10000 10000 10000 ...

Edited by author 11.01.2007 05:35
Re: Help (TLE #12, O(V*E^2))
Posted by Fyodor Menshikov 14 Jan 2007 22:07
Re: Help (TLE #12, O(V*E^2))
Posted by elmariachi1414 (TNU) 15 Jan 2007 22:52
Thank you! I'll try to study this algo from CLR