<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thescript1210</author_name>
  <author_url>https://blog.hatena.ne.jp/thescript1210/</author_url>
  <blog_title>ひらめの日常</blog_title>
  <blog_url>https://hiramekun.hatenablog.com/</blog_url>
  <categories>
    <anon>atcoder</anon>
    <anon>競技プログラミング</anon>
    <anon>解法メモ</anon>
    <anon>計算量</anon>
    <anon>グリッド</anon>
  </categories>
  <description>問題はこちら atcoder.jp 縦マス、横マスからなる迷路がある。マス(i, j) は # のとき壁であり、. のとき道である。ます目 (C_h, C_w) から(D_h, D_w) に移動することを考える。 以下の二つの移動方法がある。 移動A: 現在いるマスと上下左右に隣接する道のマスへ移動する。 移動B: 現在いるマスを中心とする 5*5 の範囲内にあるマスへワープできる。 移動Bを最低で何回使う必要があるか答えよ。 (D_h, D_w) にたどり着けない場合は -1 を出力せよ。 考え方 まず、「なるべく移動Bを使わないで移動できるならそうした方が良い」というのがわかる。よって、ま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiramekun.hatenablog.com%2Fentry%2F2020%2F08%2F23%2F033048&quot; title=&quot;AtCoder: ABC176-D Wizard in Maze (400) - ひらめの日常&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://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-23 03:30:48</published>
  <title>AtCoder: ABC176-D Wizard in Maze (400)</title>
  <type>rich</type>
  <url>https://hiramekun.hatenablog.com/entry/2020/08/23/033048</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
