<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>DP</anon>
    <anon>数え上げ問題</anon>
    <anon>行列累乗</anon>
    <anon>行列</anon>
    <anon>CSAcademy</anon>
  </categories>
  <description>とにかく整理に苦労したけど、本番中に通せて嬉しかったん CSA 069 DIV2 E The Wall 図は N = 5 の場合である。 N 段の壁を作りたい。ただし、どのレンガも下にあるレンガが完成してからでないと積み上げられない。 N 段の積み上げる順番の総数はいくらか。1000000007で割ったあまりで求めよ。 1 &lt;= N &lt;= 109 観察として、i 段目を積もうという段階において、i - 3 段目以下はすべて積まれている状態でなければならない。 そこから頑張って以下のような考察をした。 結局最後は行列累乗になった。 #include &lt;iostream&gt; #include &lt;ve…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2018%2F02%2F15%2F184728&quot; title=&quot;CS Academy 069 DIV2 E - The Wall - けんちょんの競プロ精進記録&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-ak.f.st-hatena.com/images/fotolife/d/drken1215/20180215/20180215184521.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-15 18:47:28</published>
  <title>CS Academy 069 DIV2 E - The Wall</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2018/02/15/184728</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
