Блог пользователя ddt

Автор ddt, 12 лет назад, По-английски

Can someone explain me how to solve this problem http://poj.org/problem?id=1927 If the length of rope is smaller than the perimeter of circle with radius equal to radius of inscribed circle, we can directly find the answer. But, how to deal with cases when length of the rope is greater than perimeter of such circle and less than perimeter of triangle.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
12 лет назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I don't know how to solve this problem. I try to guess.
The shape of the resulting figure looks like an triangle with cutted anlges (by a line perpendicular to it's bisector) and with three circular segments attached to cutted angles. circular segment's radiuses are equal to radius of inscribed circle. Imagine you are inflating the balloon. I suppose after step where perimeter of ballon is equal to perimeter of inscribed circle biggest segment will move towards it's angle. Binary search length of the biggest chord.