会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wspl98765
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2017年3月5日
lca最小公共祖先祖先
摘要: 倍增#include #includeusing namespace std;int du[99999];int flag[2999];double dis[2099];int w[2989][2999];int n,m;int main(){ int x,y,z; s...
阅读全文
posted @ 2017-03-05 11:18 wspl98765
阅读(243)
评论(0)
推荐(0)
编辑
最小花费
摘要: 简单的spfa。。 但我就纳闷了,为啥数组模拟邻接表却tle#include #includeusing namespace std;int du[99999];int flag[2999];double dis[2099];int w[2989][2999];int n,m;in...
阅读全文
posted @ 2017-03-05 11:06 wspl98765
阅读(110)
评论(0)
推荐(0)
编辑
牛的旅行(标程)
摘要: #include#include#includeusing namespace std;int n,m;double w[999];double x[999],y[999];double dis[999][999];void floy()//floyed{ for(int k...
阅读全文
posted @ 2017-03-05 08:50 wspl98765
阅读(158)
评论(0)
推荐(0)
编辑
公告