会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
byfei
博客园
首页
新随笔
联系
管理
订阅
2014年8月25日
合算法:从m个数中选n个数的所有组合
摘要: #include using namespace std;int combine(int a[], int n, int m){ m = m > n ? n : m; int* order = new int[m+1]; for(int i=0; i<=m; i++) order...
阅读全文
posted @ 2014-08-25 04:32 byfei
阅读(1166)
评论(0)
推荐(0)
编辑
公告