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 1753. Bookshelf

hint
Posted by Connector 17 Mar 2010 21:47
Use ternary search.
Re: hint
Posted by [SSAU] Igor Shamashov 24 Mar 2010 22:58
Simple math problem. You should just maximise one function.
Re: hint
Posted by Ade 22 May 2011 20:11
Unfortunately, I don't know how to maximize it. So I can search :)

H/2*sin(a) - h*tan(a)

Can anybody tell me how to maximize it?
Re: hint
Posted by Ade 22 May 2011 20:18
Oh, I recalled my differential calculus.
Re: hint
Posted by arrammis 9 May 2017 02:36
how you got h*tan(a) in your formula ??? why it works ??

As of the definition of the tangent, there  must be h/tan(a) but this gives wroung results ! why ?