<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>数え上げ問題</anon>
    <anon>包除原理</anon>
    <anon>戻すDP</anon>
    <anon>二項係数</anon>
    <anon>DP</anon>
    <anon>重複組合せ</anon>
    <anon>AtCoder700点</anon>
    <anon>AtCoder</anon>
    <anon>ARC-E</anon>
    <anon>数列</anon>
    <anon>グラフ・盤面・数列の個数の数え上げ</anon>
    <anon>橙色diff</anon>
    <anon>制約条件:総和=K</anon>
    <anon>サイコロ</anon>
    <anon>入力が定数個</anon>
    <anon>そのまま覚えたいシンプル設定の中堅以上の典型問題</anon>
  </categories>
  <description>いろんな解法がありそうなんな 問題へのリンク 問題概要 整数 が与えられる。各 に対して、 どの に対しても を満たす整数組 の個数を で割った余りを求めよ ( 面サイコロを 個振るという設定)。 制約 解法 1: 漸化式を立ててそれを展開 (本番で通した解法) 例えば の場合は、 1 と 4 は同時には出現しない 2 と 3 は同時には出現しない という条件とみなすことができる。 がどの場合でも、 1 と は同時には出現しない 2 と は同時には出現しない ... と は同時には出現しない という形の条件になる。ここで、 となるのは構わないが、 に対して となってはいけない。 の値は に応じ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2018%2F09%2F02%2F145500&quot; title=&quot;AtCoder ARC 102 E - Stop. Otherwise... (橙色, 700 点) - けんちょんの競プロ精進記録&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://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1516148889515660</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-09-02 14:55:00</published>
  <title>AtCoder ARC 102 E - Stop. Otherwise... (橙色, 700 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2018/09/02/145500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
