<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Akira-M</author_name>
  <author_url>https://blog.hatena.ne.jp/Akira-M/</author_url>
  <blog_title>I♥TLE</blog_title>
  <blog_url>https://systemdotout.hatenablog.com/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>Java</anon>
    <anon>グラフ理論</anon>
    <anon>ACM-ICPC</anon>
  </categories>
  <description>問題（外部リンク） Road Construction | Aizu Online Judge 実装の概要 条件より首都から各都市への距離が最短である必要があるので単一始点最短路問題として解きます。Nの値が大きい割に辺の数はMダイクストラ法であれば十分間に合います。 今回は距離の計算だけでなく費用の計算も行う必要があります。ただ、経路を完全に記録する必要はなく、直前の都市からある都市Aに移動するためのコストを配列に保存させれば十分です。 これは、最低限の道の本数しかなければ首都から出発したときにある都市に入るための道は1本に限定されるからです。 コストの記録はダイクストラ法での距離の更新時に行…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsystemdotout.hatenablog.com%2Fentry%2F2018%2F03%2F04%2F140823&quot; title=&quot;2249-Road Construction - I♥TLE&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>2018-03-04 14:08:23</published>
  <title>2249-Road Construction</title>
  <type>rich</type>
  <url>https://systemdotout.hatenablog.com/entry/2018/03/04/140823</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
