<?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>AtCoder</anon>
    <anon>AtCoder300点</anon>
    <anon>灰色diff</anon>
    <anon>全探索</anon>
    <anon>集計処理</anon>
    <anon>数学(整数問題)</anon>
    <anon>各kに対して</anon>
    <anon>ABC-like</anon>
    <anon>for文</anon>
    <anon>多重for文</anon>
    <anon>【問題集】整数変数の式で表された条件を扱う探索</anon>
    <anon>NoviSteps3Q</anon>
  </categories>
  <description>ごとに考えるのではなく、集計する考え方をするのがポイント！！！ 問題へのリンク 問題概要 正の整数 が与えられる。各 に対して、 は正の整数 を満たすような の組の個数を求めよ。 制約 考えたこと 最初に特定の整数 に対して は正の整数 を満たす の個数を求めることを考えてみる。まず、 より、 となることがわかる。同様に , も成立している。よって、 をすべて試せば OK。この場合の計算量は となる。 では、 のすべてについて求めるにはどうしたらよいだろうか？一見するとまともに上記のことをやると かかりそうな気がしてくる。 しかしよく考えると、 をすべて試すときに、 として counter[v…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2020%2F10%2F30%2F043757&quot; title=&quot;AISing Programming Contest 2020 C - XYZ Triplets (3Q, 灰色, 300 点) - けんちょんの競プロ精進記録&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>2020-10-30 04:37:57</published>
  <title>AISing Programming Contest 2020 C - XYZ Triplets (3Q, 灰色, 300 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2020/10/30/043757</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
