<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kujira16</author_name>
  <author_url>https://blog.hatena.ne.jp/kujira16/</author_url>
  <blog_title>くじらにっき++</blog_title>
  <blog_url>https://kujira16.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=0270 カードが6, 7, 11, 13, 14, 15, 16, 19で，q=5のクエリに答えたいとする。 5で割った余りが最大になり得るのは，5*1のlower_boundの1つ前，5*2のlower_boundの1つ前，……，なので，ソートしておいて二分探索する方法，set.lower_boundを使う方法，累積和的な方法などで調べられる (下の図の例のように「5*1のlower_boundの1つ前」の要素が無い場合もあるので注意する)。 この方法を使ったときの1クエリあた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkujira16.hateblo.jp%2Fentry%2F2015%2F08%2F23%2F142120&quot; title=&quot;AOJ 0270 Modular Query モジュロ・クエリ - くじらにっき++&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>http://cdn-ak.f.st-hatena.com/images/fotolife/k/kujira16/20150823/20150823132241.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-08-23 14:21:20</published>
  <title>AOJ 0270 Modular Query モジュロ・クエリ</title>
  <type>rich</type>
  <url>https://kujira16.hateblo.jp/entry/2015/08/23/142120</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
