<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanakaBox</author_name>
  <author_url>https://blog.hatena.ne.jp/tanakaBox/</author_url>
  <blog_title>ボクノス</blog_title>
  <blog_url>https://boxnos.hatenablog.com/</blog_url>
  <categories>
    <anon>GCC</anon>
  </categories>
  <description>二分探索というやつですね。半分の半分の半分の・・・とやっていく方法。検索以外にも応用が効く。計算処理の高速化とか。バグ探しとか・・・。 演習 3-1 僕の頭が弱いので、再帰で挑戦。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;time.h&gt; #define MAX 0x100000 int binsearch(int x, int v[], int low, int high); int binsearch2(int x, int v[], int low, int high); int main(void) { int c[MAX]; i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070909%2F1189320787&quot; title=&quot; K&amp;amp;Rを読もう(34) 演習 3-1 バイナリサーチ - ボクノス&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>2007-09-09 15:53:07</published>
  <title> K&amp;Rを読もう(34) 演習 3-1 バイナリサーチ</title>
  <type>rich</type>
  <url>https://boxnos.hatenablog.com/entry/20070909/1189320787</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
