会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
阳离子
博客园
首页
新随笔
联系
订阅
管理
2019年3月16日
求字符串的排列组合
摘要: 问题描述 有十二个数字,任取其中的五个,请问有几种取法。 问题分析 用递归即可求出
阅读全文
posted @ 2019-03-16 17:59 阳离子
阅读(177)
评论(0)
推荐(0)
编辑
bfs判断子图是否连通
摘要: int judge() { int v[13] = { 0 }; queue<int> myq; myq.push(ans[0]); v[ans[0]] = 1; while (!myq.empty()) { int t = myq.front(); myq.pop(); for (int i =
阅读全文
posted @ 2019-03-16 17:54 阳离子
阅读(220)
评论(0)
推荐(0)
编辑
公告