<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>大きさがN*Mの迷路が与えられます。迷路は通路と壁からできており、1ターンに隣接する上下左右4マスの通路へ移動することができます。スタートからゴールまで移動するのに必要な最小のターン数を求めなさい。 幅優先検索(BFS: Breadth-First Search)を使う # coding=utf-8 def debug_print(maze): for xx in maze: for yy in xx: print yy, print &quot;\n&quot;, def clear_maze(sx, sy, gx, gy, maze): debug_print(maze) INF = 100000000 fi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20121205%2F1354718418&quot; title=&quot;Pythonで迷路の最短路(幅優先検索) - メモ置き場&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>2012-12-05 23:40:18</published>
  <title>Pythonで迷路の最短路(幅優先検索)</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20121205/1354718418</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
