<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kira000</author_name>
  <author_url>https://blog.hatena.ne.jp/kira000/</author_url>
  <blog_title>kira924age’s note</blog_title>
  <blog_url>https://kira924age.hatenadiary.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
    <anon>AOJ</anon>
    <anon>ICPC</anon>
    <anon>最短経路問題</anon>
    <anon>幅優先探索</anon>
  </categories>
  <description>問題 https://onlinejudge.u-aizu.ac.jp/problems/1166 問題文 問題概要 迷路を表すデータが与えられる. 入口から出口までの最短経路の長さを求めよ. 制約 データセット数 : 解答例 指針 BFS 解説 二次元グリッド上の最短経路問題なので幅優先探索(Breadth First Search: BFS)をすればいいのは, すぐに分かる. しかし迷路の壁のデータが与えられるという少しトリッキーな形式なので注意が必要. 各座標の4方向に関して, 移動できるかどうかを値として保持するようにすればこの問題を解くことができる. C++ による実装例 // su…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkira924age.hatenadiary.com%2Fentry%2F2019%2F12%2F30%2F234152&quot; title=&quot;AOJ 1166: 迷図と命ず / Amazing Mazes - kira924age’s note&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%202%20%5Cleq%20h%2C%20w%20%5Cleq%2030</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-12-30 23:41:52</published>
  <title>AOJ 1166: 迷図と命ず / Amazing Mazes</title>
  <type>rich</type>
  <url>https://kira924age.hatenadiary.com/entry/2019/12/30/234152</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
