<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kujira16</author_name>
  <author_url>https://blog.hatena.ne.jp/kujira16/</author_url>
  <blog_title>くじらにっき++</blog_title>
  <blog_url>https://kujira16.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>問題 http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=1505&amp;lang=jp 前処理 とりあえずスタート地点からの最短距離d_s，ゴール地点からの最短距離d_gを計算する。 たとえば，各頂点のd_s，d_gが以下のような感じだったとする。 d_s d_g 0 5 1 1 1 2 1 4 3 1 3 3 以下のようなvector&lt;vector&lt;int&gt;&gt; Xを作る。 クエリ処理 例として，スタート地点からの距離が2以下，ゴール地点からの距離が4以上の頂点を数えることを考える。 vector&lt;vector&lt;int&gt;&gt; Xの中身のv…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkujira16.hateblo.jp%2Fentry%2F2015%2F08%2F22%2F232708&quot; title=&quot;AOJ 1505 Dungeon - くじらにっき++&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://cdn-ak.f.st-hatena.com/images/fotolife/k/kujira16/20150822/20150822231247.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-22 23:27:08</published>
  <title>AOJ 1505 Dungeon</title>
  <type>rich</type>
  <url>https://kujira16.hateblo.jp/entry/2015/08/22/232708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
