<?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>AtCoder</anon>
    <anon>鉄則本</anon>
    <anon>鉄則本A問題</anon>
    <anon>鉄則本★3</anon>
    <anon>DP</anon>
    <anon>グリッド上のDP</anon>
    <anon>二次元グリッド</anon>
    <anon>経路数の数え上げ</anon>
    <anon>数え上げ問題</anon>
    <anon>迷路</anon>
    <anon>そのまま覚えたい典型問題</anon>
    <anon>NoviSteps3Q</anon>
  </categories>
  <description>グリッド上の最短経路の数え上げをする DP。鉄則本の問題なので、コードのみ。 問題へのリンク 問題概要 のグリッドがあり、各マスは壁または通路である。左上マスと右下マスは通路である。 左上マスから右下マスへと、右方向と下方向の移動のみを繰り返し、壁マスに入ることなく到達する経路の本数を数えよ。 制約 コード #include &lt;bits/stdc++.h&gt; using namespace std; int main() { int H, W; cin &gt;&gt; H &gt;&gt; W; vector&lt;string&gt; C(H); for (int i = 0; i &lt; H; i++) cin &gt;&gt; C[i];…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F09%2F29%2F142022&quot; title=&quot;鉄則本 A25 - Number of Routes (3Q, ★3) - けんちょんの競プロ精進記録&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.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-09-29 14:20:22</published>
  <title>鉄則本 A25 - Number of Routes (3Q, ★3)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/09/29/142022</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
