<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a_kawashiro</author_name>
  <author_url>https://blog.hatena.ne.jp/a_kawashiro/</author_url>
  <blog_title>a_kawashiroのブログ</blog_title>
  <blog_url>https://a-kawashiro.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>講義資料 - いもす研 (imos laboratory) ↑参照。 累積和を使ったコード #include &lt;stdio.h&gt; int nails[5010][5010]; int main(){ int n,m; scanf(&quot;%d%d&quot;,&amp;n,&amp;m); for(int i=0;i&lt;m;i++){ int a,b,x; scanf(&quot;%d%d%d&quot;,&amp;a,&amp;b,&amp;x); nails[a][b]++,nails[a][b+1]--; nails[a+x+1][b]--,nails[a+x+2][b+1]++; nails[a+x+1][b+x+2]++,nails[a+x+2][b+x+2]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20120213%2F1329128274&quot; title=&quot;JOI2012本選４番 - a_kawashiroのブログ&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>2012-02-13 19:17:54</published>
  <title>JOI2012本選４番</title>
  <type>rich</type>
  <url>https://a-kawashiro.hatenablog.com/entry/20120213/1329128274</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
