庄生晓梦

庄生晓梦迷蝴蝶

博客园 首页 新随笔 联系 订阅 管理

2012年5月21日 #

摘要: #include int halfSearch( int arr[], int num, int size ) { int min = 0, max = ( size - 1), mid; if ( size == 0 ) { return -1; } while ( 1 ) { // 1. when the boundary is "min" or "m... 阅读全文
posted @ 2012-05-21 09:20 qwop 阅读(165) 评论(0) 推荐(0) 编辑