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 1332. Genie Bomber

why TLE on test 13 ? I use corect N^3 algorithm
Posted by Catalin Tiseanu 23 Jul 2005 18:39
Re: why TLE on test 13 ? I use corect N^3 algorithm
Posted by The Punisher 1 Feb 2007 23:52
I had the same problem. I had to solve equation a*x*x+b*x+c=0. if (d<0) then it hasnt real roots,
but x=(-b+sqrt(d))/(2*a)=infinity So its give TLE, I thnk.