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

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

https://cp-algorithms.com/geometry/point-in-convex-polygon.html

In above link, the code for checking whether a point is inside a convex polygon is flawed. I tested on some examples, it gave wrong answer.

Can someone point out the mistake and thus request the author to correct it!

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

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

This blog was actually helpful.

I'm sorry but I upvoted you

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

Could you provide the test you were testing with?