<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunKobayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/JunKobayashi/</author_url>
  <blog_title>JunKobayashi's Diary</blog_title>
  <blog_url>https://junkobayashi.hatenablog.com/</blog_url>
  <categories>
    <anon>ABCのE問題</anon>
    <anon>ABC本番で敗北した問題</anon>
    <anon>二重シグマ</anon>
    <anon>セグメント木</anon>
    <anon>累積和</anon>
  </categories>
  <description>いい加減二重シグマに耐性を持ちたい・・・。公式解説を読んでもすぐには飲み込めなかったため、理解できず躓いた点の行間を補う形とする。 ↓問題のページ・概要↓ ABC378 E - Mod Sigma Problem 長さ\(N\)の非負整数列\(A=(A_1,A_2,\dots,A_N)\)と正整数\(M\)が与えられる。次の値を求めよ。 \begin{align} \sum_{1 \leq l \leq r \leq N} \left( \left(\sum_{l \leq i \leq r} A_i\right) \mathbin{\mathrm{mod}} M \right) \tag{1…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjunkobayashi.hatenablog.com%2Fentry%2F2025%2F01%2F30%2F103704&quot; title=&quot;ABC378 E - Mod Sigma Problem - JunKobayashi&amp;#39;s Diary&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-01-30 10:37:04</published>
  <title>ABC378 E - Mod Sigma Problem</title>
  <type>rich</type>
  <url>https://junkobayashi.hatenablog.com/entry/2025/01/30/103704</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
