<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nishiohirokazu</author_name>
  <author_url>https://blog.hatena.ne.jp/nishiohirokazu/</author_url>
  <blog_title>西尾泰和のはてなダイアリー</blog_title>
  <blog_url>https://nishiohirokazu.hatenadiary.org/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>都市の座標と条件が与えられ、条件を満たすなるべく多いペア(2つの都市の「姉妹都市」関係)を作れ、という典型的なグラフ問題。条件とは「都市がminDistance以上離れている」と「一つの都市は最大maxPartner個の都市と姉妹都市になれる」の2つ。「ペアの個数が最大になるいくつかのペアの作り方のうち、一番距離の合計が短いものを選べ」という条件もついている。都市の数は最大10個、maxPartnerは最大で3なので、ペアになりうる組み合わせは最大45個、ペアの個数の最大は15個。全探索しても枝刈りをうまくやれば大丈夫じゃないかな、と思って試してみた。 class TwinTowns { pu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20081221%2F1229805950&quot; title=&quot; Single Round Match 430 (Div1/500point) - 西尾泰和のはてなダイアリー&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>2008-12-21 05:45:50</published>
  <title> Single Round Match 430 (Div1/500point)</title>
  <type>rich</type>
  <url>https://nishiohirokazu.hatenadiary.org/entry/20081221/1229805950</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
