<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://atcoder.jp/contests/abc154/tasks/abc154_f 前提知識 2次元累積和の考え方 mod素数上での二項係数 解説 https://atcoder.jp/contests/abc154/submissions/10005470 問われているのは、ある矩形区間での総和であるが、変数が4つもあるのは扱いにくい。 2次元累積和で使われている考え方を用いて、変数を2つに減らそう。 g(r,c) := 左下が(0,0)で、右上が(r,c)である矩形区間でのf(r,c)の総和 これを計算することができれば、g(r2, c2) - g(r1 - 1, c2) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F02%2F09%2F225241&quot; title=&quot;Many Many Paths [AtCoder Beginner Contest 154 F] - はまやんはまやんはまやん&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>2020-02-09 22:52:41</published>
  <title>Many Many Paths [AtCoder Beginner Contest 154 F]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/02/09/225241</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
