<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>d_tutuz</author_name>
  <author_url>https://blog.hatena.ne.jp/d_tutuz/</author_url>
  <blog_title>数学/競プロメモ</blog_title>
  <blog_url>https://tutuz.hateblo.jp/</blog_url>
  <categories>
    <anon>累積和</anon>
    <anon>倍数判定</anon>
  </categories>
  <description>問題 https://beta.atcoder.jp/contests/abc105/tasks/abc105_d 数列 が与えられる。閉区間 の和が の倍数になる区間の個数を求めよ。 考え方 の累積和を とする。これが の倍数になる時 と が の倍数でなければなりません。よって の累積和をとり、 であまりをとったときに、同じ値の数から つ選ぶときの組み合わせの個数が解になります。 public void solve(int testNumber, InputReader in, PrintWriter out) { int n = in.nextInt(); long m = in.next…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F08%2F12%2F111334&quot; title=&quot;ABC105-D：Candy Distribution - 数学/競プロメモ&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=A</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-12 11:13:34</published>
  <title>ABC105-D：Candy Distribution</title>
  <type>rich</type>
  <url>https://tutuz.hateblo.jp/entry/2018/08/12/111334</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
