<?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/1042 前提知識 二分探索 解説 https://yukicoder.me/submissions/475012 N^2 &lt;= P + QNlogNを満たす最大のNを求めよという問題。 ★の感じから二分探索すればよさそう。 普通に二分探索する。 テクニックとして小数の比較にはEPSを使うのが定石。 今回はA≦Bを判定するが、小数の場合はA≦B+EPSで比較をしよう。 自分は[1,1e9]でEPS=1e-10をするとWAになった。 うーんと思って、適当に[1,1e12],EPS=1e-7にしたら通った。 こういう適当なことをして…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2020%2F05%2F02%2F002158&quot; title=&quot;愚直大学 [yukicoder 1042] - はまやんはまやんはまやん&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-05-02 00:21:58</published>
  <title>愚直大学 [yukicoder 1042]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2020/05/02/002158</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
