<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>torus711</author_name>
  <author_url>https://blog.hatena.ne.jp/torus711/</author_url>
  <blog_title>torus711 のアレ</blog_title>
  <blog_url>https://torus711.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>累積和</anon>
    <anon>式変形</anon>
    <anon>AtCoder</anon>
    <anon>累積和</anon>
    <anon>式変形</anon>
  </categories>
  <description>問題文 https://atcoder.jp/contests/abc423/tasks/abc423_e 問題概要 長さ $n$ の数列 $A = \langle A_1, A_2, \dots, A_n \rangle$ が与えられる． 以下のクエリが $q$ 個与えられるので，処理せよ： $i$ 番目のクエリでは，整数 $L_i, R_i$ ($1 \leq L_i \leq R_i \leq n$) が与えられる．以下の値を出力せよ： \[ \sum_{ l = L_i }^{ R_i } \sum_{ r = l }^{ R_i } \sum_{ j = l }^r A_j \] 制…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftorus711.hatenablog.com%2Fentry%2F2025%2F09%2F15%2F220204&quot; title=&quot;AtCoder Beginner Contest 423, E : Sum of Subarrays - torus711 のアレ&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>2025-09-15 22:02:04</published>
  <title>AtCoder Beginner Contest 423, E : Sum of Subarrays</title>
  <type>rich</type>
  <url>https://torus711.hatenablog.com/entry/2025/09/15/220204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
