<?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>AOJ</anon>
  </categories>
  <description>問題 Three-way Branch | Aizu Online JudgeW*H のグリッドが与えられる。これらのうち, N 個のセルは通れなくなっている。あるセル(x, y) からは (x-1, y+1) or (x, y+1) or (x+1, y+1) にのみ行ける場合, (0, 0) から (W-1, H-1) までの経路は何通りあるか。 解法 W がまぁまぁ小さくて H が超でかいので行列累乗な感じがします。障害物は N 個しかないので, 障害物のある行になるまでは行列累乗 障害物ある行では 対応するところの場合の数を 0 にする というようにやれば O(W^3 log H * …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F08%2F30%2F223151&quot; title=&quot;AOJ 2397 Three-way Branch - 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-08-30 22:31:51</published>
  <title>AOJ 2397 Three-way Branch</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2016/08/30/223151</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
