会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
幸运的人抛去概率,往往是实力的彰显。
银发赛高
博客园
首页
新随笔
联系
订阅
管理
2022年1月9日
PAT A1003 Emergency (25 分)
摘要: 采用DFS: #include<iostream> #include<vector> using namespace std; int N,M,C1,C2; int dis[500][500],mindis[500],num_of_team[500],paths,teams; vector<int>
阅读全文
posted @ 2022-01-09 17:59 银发制御
阅读(28)
评论(0)
推荐(0)
公告