Rosetta Problems

33 点の位置関係 (ccw)

平面上の 33 点 p0,p1,p2p_0, p_1, p_2 が与えられ、反時計回り・時計回り・同一直線上のどの位置関係にあるかを判定する。

関連リンク