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 1633. Hippogriffs

Numerical algo
Did anybody solve it with numerical algo (local optimization)?
Re: Numerical algo
Posted by svr 12 Oct 2008 10:06
I think using Java is best way.
Firstly I used parameter MaxLen=100 for BigDecimal and Wa3.
Maxlen:=200 and Ac.
Thus to garantie given precision in answer 1e-9 is difficult without long numbers.
Re: Numerical algo
Posted by Chmel_Tolstiy 12 Oct 2008 13:48
I used. just search
Re: Numerical algo
2 svr: I've accepted it with usual double in C++
Re: Numerical algo
Posted by svr 12 Oct 2008 23:14
I and begginers must be caution.
A~1e6; A'A~1e12, t^2-Qt+Z=0;Q,Z~1e24;D=Q^2-4*Z~1e+48
how take t with 1e-9 in 16 digits!?
Re: Numerical algo
Posted by Teacher30 13 Oct 2008 00:49
My formula uses only numbers about 10^12 ;)
Re: Numerical algo
Posted by Anisimov Dmitry (Novosibirsk STU) 13 Oct 2008 10:36
If you have valid analytic solution to the problem, numbers wouldn't make much difficulty, or so it seems to me.
Re: Numerical algo
Posted by Zayakin Andrey[PermSU] 19 Jan 2010 19:41
i used ternary search
No subject
Posted by Moonstone 22 Jun 2010 13:39


Edited by author 22.06.2010 13:54
Re: Numerical algo
Posted by bsu.mmf.team 20 Dec 2010 16:31
I solved it using numerical optimization. I've got AC with a code having only 20 lines.