<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>politeness</author_name>
  <author_url>https://blog.hatena.ne.jp/politeness/</author_url>
  <blog_title>naruの日記</blog_title>
  <blog_url>https://politeness.hatenadiary.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
  </categories>
  <description>ABC172のE問題は次のような問題であった。 以上以下の整数からなる長さの数列 との組であって、以下の条件をすべて満たすものの個数を求めてください。 なる任意のについて なる任意の について かつ ただし、答えは非常に大きくなる可能性があるので、で割ったあまりを出力してください。 この問題を考えてみたが煮詰まってしまい、泣きながら解答を見ると包除原理を利用した解法が載っていた。 解答には大まかに以下のような説明が載っていた。 各要素が以上以下の整数である集合について「なる全てのについて」が成り立つの組の個数はである。 包除原理より、上の個数にをかけたの全てのに対して総和をとったものが答えにな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpoliteness.hatenadiary.com%2Fentry%2F2020%2F08%2F19%2F190330&quot; title=&quot;包除原理について考える - naruの日記&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=1</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-19 19:03:30</published>
  <title>包除原理について考える</title>
  <type>rich</type>
  <url>https://politeness.hatenadiary.com/entry/2020/08/19/190330</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
