会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
阿佚
阿佚的技术博客
首页
联系
管理
订阅
2015年5月23日
[二分法]线性时间内在数组中找出第k大的数
摘要: #include "stdafx.h"#include "iostream"using namespace std;//参数为 数组指针,开始下标, 结束下标, 第K大数(k从0开始)int rand_par(int array[], int start, int end, int th){ if...
阅读全文
posted @ 2015-05-23 01:06 chunyi
阅读(755)
评论(0)
推荐(0)
编辑
公告