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 1572. Yekaterinozavodsk Great Well

Traingle
Posted by Lomir 13 Oct 2007 19:28
What to do with triangle?
What is the maximum side length that can pass triangle with sides a? I used if (a > size(diameter)) then it can pass.

Please give some test with triagles as hole and right answers.

By the way, are all sizes given in integes?

Edited by author 13.10.2007 19:30
Re: Traingle
Posted by KIRILL(ArcSTUpid coder:) 13 Oct 2007 19:53
try to rotate triangle and find minimum projection
Re: Traingle
Posted by Nurbek_[KTMU MANAS] 16 Nov 2007 16:16
When you bring triangle to other figures you must check triangles height.
Re: Traingle
Posted by jagatsastry 3 Dec 2007 16:52
Max projection is the side: a
Min projection: a*root(3)/2 ie tilt the triangle in such a way that one side of it vertical.
"a" here is the side length.

Inputs are integers.
Traingle
Posted by Cezar 3 Dec 2007 17:09
I have one question.
(all lengths I express with length squere (kvadrat)
2*radius is long kvadrat
How writeln min protection for traingle