{"provider_name":"Hatena Blog","published":"2020-03-14 04:34:54","blog_title":"perogram","author_name":"peroon","blog_url":"https://perogram.hateblo.jp/","url":"https://perogram.hateblo.jp/entry/imos2D","categories":["\u30e9\u30a4\u30d6\u30e9\u30ea","imos"],"author_url":"https://blog.hatena.ne.jp/peroon/","type":"rich","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peroon/20200314/20200314043440.png","provider_url":"https://hatena.blog","title":"2\u6b21\u5143imos (\u4e8c\u6b21\u5143\u3044\u3082\u3059) \uff5eyukicoder No.60 \u9b54\u6cd5\u5c11\u5973\uff5e","description":"Quiz https://yukicoder.me/problems/no/60 AC\u2705https://yukicoder.me/submissions/443826 \u30af\u30e9\u30b9\u5316\u3057\u305f struct Imos2D{ VV A; ll H,W; Imos2D(ll h, ll w){ H = h; W = w; A.resize(H, VI(W)); } // [(y0,x0), (y1,x1)] void add(ll y0, ll x0, ll y1, ll x1, ll v){ A[y0][x0] += v; A[y1+1][x1+1] += v; A[y0][x1+1] -= v; A[y1\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2Fimos2D\" title=\"2\u6b21\u5143imos (\u4e8c\u6b21\u5143\u3044\u3082\u3059) \uff5eyukicoder No.60 \u9b54\u6cd5\u5c11\u5973\uff5e - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0"}