会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Lolipop
首页
新随笔
联系
管理
2018年10月24日
拓扑求DAG最长路
摘要: #include #include #include #include #define maxn 1000000 using namespace std; int n,m; struct Edge{//存边 int next; int to; int dis; }edge[maxn]; queue q;//拓扑排序要用队列 int head[maxn]; in...
阅读全文
posted @ 2018-10-24 13:28 summerwonder
阅读(373)
评论(0)
推荐(0)
编辑