<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>AOJ</anon>
  </categories>
  <description>解法１ 牽牛と織姫とをつなぐ線分と、三角形の３つの線分との交差を判定しカウントする。 一回の交差のみなら &quot;OK&quot; それ以外の回数の交差なら &quot;NG&quot; と出力する。解法２ 牽牛と織姫が、三角形の内部か外部かで同じ場所にいるかどうかを判定すれば良い。 例えば牽牛が内部に含まれているとき、牽牛と三角形の３点から３つの三角形が出来上がるので、その三角形の面積の和が与えられた三角形の面積に一致するか調べると内部にいるかどうかの判定ができる。 これを織姫にも適用し、どちらも内部 or どちらも外部なら &quot;NG&quot; 一方が内部で他方が外部なら &quot;OK&quot; と出力すれば良い。解法３ 解法２と同様の考えで内部か外…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140330%2F1396164052&quot; title=&quot;AOJ0143 Altair and Vega - Logfiles&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-30 16:20:52</published>
  <title>AOJ0143 Altair and Vega</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140330/1396164052</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
