記事へのコメント8

    • 注目コメント
    • 新着コメント
    nosoosso
    nosoosso バイナリサーチの意外なバグについて

    2016/12/07 リンク

    その他
    yass
    yass " So what's the best way to fix the bug? Here's one way: int mid = low + ((high - low) / 2); "

    2014/02/09 リンク

    その他
    leechael
    leechael Also has been mention in Coders at Work.

    2012/09/04 リンク

    その他
    tmatsuu
    tmatsuu 平均値を取るときはm=(l+h)/2だと桁溢れをおこすかもしれないので、例えばm=l+(h-l)/2のようにしましょう。おーうっかり。

    2012/01/31 リンク

    その他
    javouhey
    javouhey joshua bloch said previous implementation of binary search had a bug in the JDK

    2010/12/20 リンク

    その他
    suribati_p
    suribati_p Programing Pearlsのbinary searchのバグ

    2008/06/02 リンク

    その他
    send
    send なるほど

    2006/06/06 リンク

    その他
    nobody
    nobody <del>いま読んでます!!</del><ins>読んだ</ins> [あわせて読みたい: (1)[http://d.hatena.ne.jp/asin/4894712369] , (2)[http://d.hatena.ne.jp/asin/4894714361] ] 風間先生経由.

    2006/06/05 リンク

    その他

    注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

    アプリのスクリーンショット
    いまの話題をアプリでチェック!
    • バナー広告なし
    • ミュート機能あり
    • ダークモード搭載
    アプリをダウンロード

    関連記事

    Official Google Research Blog: Extra, Extra - Read All About It: Nearly All Binary Searches and Mergesorts are Broken

    Philosophy We strive to create an environment conducive to many different types of research acros...

    ブックマークしたユーザー

    • nosoosso2016/12/07 nosoosso
    • Tomosugi2016/06/27 Tomosugi
    • rero2015/08/09 rero
    • yag_ays2015/04/16 yag_ays
    • yass2014/02/09 yass
    • tachesimazzoca2014/02/09 tachesimazzoca
    • leechael2012/09/04 leechael
    • InoHiro2012/05/27 InoHiro
    • rydot2012/05/27 rydot
    • tmatsuu2012/01/31 tmatsuu
    • javouhey2010/12/20 javouhey
    • fumi12009/02/21 fumi1
    • tanku2008/09/12 tanku
    • suribati_p2008/06/02 suribati_p
    • pcod2006/08/28 pcod
    • wata_d2006/06/10 wata_d
    • hrnbskgc2006/06/10 hrnbskgc
    • Gaju2006/06/07 Gaju
    すべてのユーザーの
    詳細を表示します

    同じサイトの新着

    同じサイトの新着をもっと読む

    いま人気の記事

    いま人気の記事をもっと読む

    いま人気の記事 - 暮らし

    いま人気の記事 - 暮らしをもっと読む

    新着記事 - 暮らし

    新着記事 - 暮らしをもっと読む

    同時期にブックマークされた記事