会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
gaolzzxin
博客园
首页
新随笔
联系
订阅
管理
2014年8月31日
2012 Asia Hangzhou Regional Contest
摘要: Friend Chainshttp://acm.hdu.edu.cn/showproblem.php?pid=4460图的最远两点距离,任意选个点bfs,如果有不能到的点直接-1.然后对于所有距离最远的点都bfs一次。最坏n^2邻接表 1 #include 2 #include 3 #include...
阅读全文
posted @ 2014-08-31 18:23 gaolzzxin
阅读(307)
评论(0)
推荐(0)
编辑