<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>noimin</author_name>
  <author_url>https://blog.hatena.ne.jp/noimin/</author_url>
  <blog_title>NoiminのNoise</blog_title>
  <blog_url>https://noimin.hatenablog.com/</blog_url>
  <categories>
    <anon>競技プログラミング (問題解説)</anon>
  </categories>
  <description>問題: D - GCD区間 公式解説: 解説 スライド 問題概要 長さ $n (\leq 10^5)$ の数列 $a_1, a_2 \dots, a_N (1 \leq a_i \leq 10^9)$ がある。この数列に対して，次のクエリが $m (\leq 10^5)$ 回与えられる。それぞれのクエリの答えを出力せよ。 最大公約数が $x$ となる区間はいくつある？ 解法概要 $a_l, a_{l+1} \dots, a_{r-1}, a_r$ の最大公約数を $\mathit{gcd}(l, r)$ と表す。 区間の数は全部で $n^2-1$ 個あるので，区間$[s, t]$ の $s$ …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnoimin.hatenablog.com%2Fentry%2F2020%2F03%2F19%2F184730&quot; title=&quot;AtCoder Regular Contest 023 D - GCD区間 - NoiminのNoise&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>2020-03-19 18:47:30</published>
  <title>AtCoder Regular Contest 023 D - GCD区間</title>
  <type>rich</type>
  <url>https://noimin.hatenablog.com/entry/2020/03/19/184730</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
