会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Tsukinousag1
UESTC
博客园
首页
新随笔
联系
订阅
管理
2021年1月24日
递归
摘要: 2.1递归实现指数型枚举 原题链接 从 1~n 这 n 个整数中随机选取任意多个,输出所有可能的选择方案。 //递归写法一:vector存 #include<iostream> #include<vector> using namespace std; vector<int>chosen; int
阅读全文
posted @ 2021-01-24 10:45 Tsukinousag1
阅读(94)
评论(0)
推荐(0)
公告