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 1021. Sacrament of the Sum

TLE test #4; help anybody who knows even a little about this test
Posted by frost 27 Feb 2008 09:41
i got TLE at test #4

but max test with n = 50000 calcs in <1 sec at my computer...

what's wrong?
Re: TLE test #4; help anybody who knows even a little about this test
Posted by Alexander (201 - P TNU) 29 Feb 2008 02:35
You should use binary search
Re: TLE test #4; help anybody who knows even a little about this test
Posted by Lyzhin Vladimir (Orenburg SU) 16 Mar 2008 16:47
Use binary search! It help you!
Re: TLE test #4; help anybody who knows even a little about this test
Posted by asddsa 25 Apr 2009 15:37
N==31000