<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoshiki_utakata</author_name>
  <author_url>https://blog.hatena.ne.jp/yoshiki_utakata/</author_url>
  <blog_title>猫でもわかるWeb開発・プログラミング</blog_title>
  <blog_url>https://www.utakata.work/</blog_url>
  <categories>
  </categories>
  <description>言語はC++ 問題: http://yukicoder.me/problems/487 解答: http://yukicoder.me/submissions/27595 通常、原点から(x,y)への最短距離は複数個存在するので、途中の歩兵 *1 の存在は問題にならないが、|x| == |y| *2 となる場合のみ、最短距離は1通りしかなくなる。この時に、ルート上に歩兵がある場合のみ、迂回しなければならず、距離が+1される。 まとめると |x| == |y| |hx| == |hy| |hx| &lt; |x| *3 (x,y) と (hx,hy) が同じ象限にある 場合のみ距離を+1する コードの…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.utakata.work%2Fentry%2F2015%2F05%2F18%2F114742&quot; title=&quot;yukicoder No.208 王将 - 猫でもわかるWeb開発・プログラミング&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>2015-05-18 11:47:42</published>
  <title>yukicoder No.208 王将</title>
  <type>rich</type>
  <url>https://www.utakata.work/entry/2015/05/18/114742</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
