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

Автор 300iq, история, 8 лет назад, По-английски

Please, help me to solve this problem https://ru.kattis.com/problems/fenceortho, i know that i can use Rotating Calipers method, using 4 calipers, but i can't intersect them.

I write calipers method storing point and angle of caliper, please help me how to find intersection point of 2 calipers.

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