会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
黑马网仔
博客园
首页
新随笔
联系
订阅
管理
2018年2月26日
在集合中查找前k个最小的数
摘要: 1 #include 2 #include 3 4 #define SIZE 10 5 6 int * k_thSmallest(int * arr, int len, int k_len); 7 8 void find(int* arr, int low, int high, int k_len); 9 10 void swap(int * a, int *b);...
阅读全文
posted @ 2018-02-26 13:09 黑马网仔
阅读(202)
评论(0)
推荐(0)
编辑
公告