<?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://atcoder.jp/contests/abc199/tasks/abc199_b 解説 https://atcoder.jp/contests/abc199/submissions/22039415 この問題は色々な解法が考えられるが、計算量が最も良いものを選択した。 求めたい整数xはとある範囲に限定される。 その範囲は、N個の[Ai,Bi]の積集合、つまり、すべてが重なる部分の範囲にある数となる。 なので、範囲の積集合を計算しよう。 範囲の積集合 問題のサブ課題としてこういった要望は良く出てくる。 [A,B]と[C,D]が重なっている範囲は[max(A,C),min(B,D…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2021%2F04%2F25%2F002101&quot; title=&quot;Intersection [AtCoder Beginner Contest 199（Sponsored by Panasonic） B] - はまやんはまやんはまやん&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>2021-04-25 00:21:01</published>
  <title>Intersection [AtCoder Beginner Contest 199（Sponsored by Panasonic） B]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2021/04/25/002101</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
