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 1475. Ryaba Hen

I long time try, and found this formula:
Posted by xurshid_n 17 Aug 2012 19:57
4*h *  n ( n + 1 )  > H
minimal  n - is answer!

but I doubt, that this is correct.

It's correct or not?
Re: I long time try, and found this formula:
Posted by Shen Yang 12 Oct 2017 06:23
v0*t*sin(theta)+0.5*g*sin(theta)*t^2 *n>=sqrt(H*H+l*l)

v0=sqrt(2*g*h)

t=2*v0/g

tan(theta)=H/l.

seems to be correct

PS. this problem is too simple..

Edited by author 12.10.2017 06:25

Edited by author 12.10.2017 06:40
Re: I long time try, and found this formula:
Posted by Shen Yang 12 Oct 2017 07:50
the correct formula is

4*h*n*(n+1)>(H*H+l*l)/H
Re: I long time try, and found this formula:
Posted by Mahilewets Nikita [BSUIR] 13 Oct 2017 00:29
Maybe provide some explanation
Re: I long time try, and found this formula:
Posted by Mahilewets Nikita [BSUIR] 13 Oct 2017 00:30
Oh
Your previous comment is the explanation