<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://yukicoder.me/problems/no/917 前提知識 動的計画法 解説 https://yukicoder.me/submissions/393368 制約が少し特殊っぽい。 よくある方針として、全通りからgcdが1とならないものを引く方針で考える？ 包除原理な感じもする。 いや、1つ使う要素を固定して、DPすればdpの添字はそれの約数に収まるな。 それで解けそう。 A1, A2, ...と順番にA[i]を使うときに最大公約数が1となる部分列の個数を求める。 このとき、A[i]を使うと決めたら、j&lt;iを満たすA[j]は使う組み合わせは求まっているので、A[j]はす…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F10%2F26%2F102535&quot; title=&quot;Make One With GCD [yukicoder 917] - はまやんはまやんはまやん&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>2019-10-26 10:25:35</published>
  <title>Make One With GCD [yukicoder 917]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/10/26/102535</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
