<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anta1</author_name>
  <author_url>https://blog.hatena.ne.jp/anta1/</author_url>
  <blog_title>antaの競技プログラミング練習日記</blog_title>
  <blog_url>https://anta1.hatenadiary.org/</blog_url>
  <categories>
    <anon>SRM</anon>
    <anon>幾何</anon>
    <anon>辞書順最小</anon>
  </categories>
  <description>問題 Editorial 問題 (凸とは限らない)単純多角形の三角形分割を、辞書順最小でしろ。 引かれた対角線と多角形は、始点・終点以外で交差や触れてはならない 解答 まず、適当に対角線をひいても、三角形分割ができなくなることはない。つまり単純な辞書順greedyでおｋ。 あとは適当に「既に引いた対角線と交差せず」「多角形自身と交差せず」「多角形の内側にある」かどうかを判定したい。 これは整数幾何でがんばる コメント コードのコメントのとおり、「多角形の内側にある」判定で適当なことをしているが、Practice Roomのrng_58さんの解答では面積に着目しているようだ。 コード #incl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanta1.hatenadiary.org%2Fentry%2F20121221%2F1356080838&quot; title=&quot;SRM 225 DIV1 Hard Triangulation - antaの競技プログラミング練習日記&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>2012-12-21 18:07:18</published>
  <title>SRM 225 DIV1 Hard Triangulation</title>
  <type>rich</type>
  <url>https://anta1.hatenadiary.org/entry/20121221/1356080838</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
