<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rokugats</author_name>
  <author_url>https://blog.hatena.ne.jp/rokugats/</author_url>
  <blog_title>ICPC log</blog_title>
  <blog_url>https://rokugats-pc.hateblo.jp/</blog_url>
  <categories>
    <anon>AOJ</anon>
    <anon>ICPC国内予選</anon>
    <anon>最短路問題</anon>
    <anon>ダイクストラ法</anon>
  </categories>
  <description>グラフの最短距離問題。 (x座標, y座標, 右足 | 左足)の三つ組みをノードとしたグラフを考える。 グラフを明示的に作成してからダイクストラしてもいいし、ダイクストラ法の中身を直接いじってもいい。 バグが怖いので今回は前者でやったが、おかげでとても長くなってしまった。ついでに書き残しておくと、入力を受ける部分で嵌ってしまった。 空白or改行で区切られたN個の文字を一つずつ読み込む方法としては、 char c[N]; for (int i = 0; i &lt; N; i++) scanf(&quot;%c&quot;, &amp;c[i]); ではもちろんダメ。しかしながら、iostreamを用いた char c[N]; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frokugats-pc.hateblo.jp%2Fentry%2F2014%2F06%2F30%2F222103&quot; title=&quot;AOJ 1150 Cliff Climbing - ICPC log&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-06-30 22:21:03</published>
  <title>AOJ 1150 Cliff Climbing</title>
  <type>rich</type>
  <url>https://rokugats-pc.hateblo.jp/entry/2014/06/30/222103</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
