<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>geam1113</author_name>
  <author_url>https://blog.hatena.ne.jp/geam1113/</author_url>
  <blog_title>geam1113’s diary</blog_title>
  <blog_url>https://geam1113.hatenablog.com/</blog_url>
  <categories>
    <anon>ABC</anon>
    <anon>iとj独立に計算</anon>
  </categories>
  <description>前に解説読んでよくわからなかったので寝かしていましたが、今回やってみたら解けました。 まず、以下に頻出の考え方について説明します。 ある整数列のを末尾とする連続した部分列の要素の和がの倍数となるような、全てのを求めることを考えます。 とすると、 の和はなので、 これがの倍数であるためには、 が成り立つ必要があり、したがって、 が成り立つようなは全て条件を満たします。 を1から順に探索し、その過程で、を記録しておけば、で、全てのを末尾とした数列について計算できます。 この考え方を前提とし、本題に移ります。 まず、一例として、問題の条件を満たすようなを末尾とした3分割の方法の総数を求めてみます。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgeam1113.hatenablog.com%2Fentry%2F2021%2F09%2F10%2F221134&quot; title=&quot;ABC207E Mod i - geam1113’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>2021-09-10 22:11:34</published>
  <title>ABC207E Mod i</title>
  <type>rich</type>
  <url>https://geam1113.hatenablog.com/entry/2021/09/10/221134</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
