会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sewage
不积跬步无以至千里
博客园
首页
新随笔
联系
管理
订阅
2019年5月6日
【PAT甲级】1087 All Roads Lead to Rome (30 分)(MAP【int,string】,邻接表,DFS,模拟,SPFA)
摘要: 代码: #include<bits/stdc++.h>using namespace std;map<string,int>city;map<int,string>rcity;map<int,vector<pair<int,int> > >edge;//对比string要比对比int慢很多,所以转换
阅读全文
posted @ 2019-05-06 19:24 sewage
阅读(185)
评论(0)
推荐(0)
编辑
公告