<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>POJ</anon>
  </categories>
  <description>蟻本奴です。 問題 2187 -- Beauty Contest2 次元平面上に N 個の点が与えられる。最も遠い位置関係にある２つの頂点間の距離の二乗の値を求めよ。 解法 蟻本の p233 に書いてあるやつです。ふたつ目の解法でやりました。ひとつ目の解法では「凸包の頂点数は座標の幅の最大値 M に対して O()」って書いてあるけど全部同一直線上にあったら死なない？と思ってしまいましたが, 凸包では det の値が 0 &quot;以下&quot; だったら頂点を無視し続けるので, 同一直線上の点は無視するからやっぱり大丈夫ですね。ふたつ目の解法では, 最も遠い点対を凸包を回りながら走査していきます。 p, q …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F04%2F15%2F214758&quot; title=&quot;POJ 2187: Beauty Contest - mayoko’s diary&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>http://chart.apis.google.com/chart?cht=tx&amp;chl=%20%5Csqrt%7BM%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-04-15 21:47:58</published>
  <title>POJ 2187: Beauty Contest</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2016/04/15/214758</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
