会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
且行且停且留心,静看明朝
It is now or never,never tomorrow,and never next second!
博客园
首页
新随笔
联系
订阅
管理
2016年10月11日
二分法查找
摘要: #include void binary_search(int key, int a[], int n) /*自定义函数binary_search*/ { int low, high, mid, count = 0, count1 = 0; low = 0; high = n - 1; while (low a[mid]) /*当key大于中间...
阅读全文
posted @ 2016-10-11 22:40 魔都初心
阅读(171)
评论(0)
推荐(0)
编辑
公告