<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yambe2002</author_name>
  <author_url>https://blog.hatena.ne.jp/yambe2002/</author_url>
  <blog_title>yambe2002’s diary</blog_title>
  <blog_url>https://yambe2002.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ひさびさのロングチャレンジは2完で460位/786人(Div1)。Div1は問題が難しすぎて楽しくない…。Max and Electrical Panel ある電子パネルは、xボルト以上の電源につなぐと壊れてしまう。1000コイン与えられるので、次の2オペレーションを使ってxを特定せよ。 ・yボルトの電源につなぐ（1コイン） ・壊れたパネルを治す（cコイン） 1 1 二分探索をするだけだが、素直に[l,r)の中央を取っていくと、cが大きい場合に修理費が嵩みコインが足りなくなる。中央ではなく、l+(r-l)/4などの下限に近い値を使えば問題ない。 https://www.codechef.com…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyambe2002.hatenablog.com%2Fentry%2F2018%2F12%2F21%2F063010&quot; title=&quot;CodeChef December Challenge 2018 参加日記  - yambe2002’s diary&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>2018-12-21 06:30:10</published>
  <title>CodeChef December Challenge 2018 参加日記 </title>
  <type>rich</type>
  <url>https://yambe2002.hatenablog.com/entry/2018/12/21/063010</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
