2014-12-18から1日間の記事一覧

一点が三角に入っている事を試す

最近トップコーダーのアルゴリズム問題に苦しんでいます。Given a set of vertices, one was required to compute the number of triangles constructed from those vertices which contain the origin. While enumerating the triangles is a trivial tripl…