<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
    <anon>yukicoder</anon>
  </categories>
  <description>問題 No.340 雪の足跡 - yukicoder 解法 ある頂点から進むことのできる方向に制限ができるので, それを基に幅優先探索するのが基本です。ただ, 進むことの出来る方向を愚直に決定すると から の間で, 進む方向をメモするのに最悪 O(W) (O(H)) かかって, 入力に現れる は O(NM) だけあるので, 時間制限に間に合いません。想定解では, これを解決するためにいもす法を使っていますが, 少し別の方法でやりました。migi[y][x] = (頂点 (y, x) から右側にどれだけいけるか) というのを考えます。入力がなにもない状態では, migi[y][x] = x です…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F01%2F30%2F110508&quot; title=&quot;yukicoder No.340 雪の足跡 - mayoko’s diary&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>2016-01-30 11:05:08</published>
  <title>yukicoder No.340 雪の足跡</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2016/01/30/110508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
