会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
荒岛的龟
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
2017年10月21日
拓扑排序模板
摘要: #include<iostream>#include<algorithm>#include<queue>#include<cstring>#define maxn 100006using namespace std;struct node{ int w; int to; int next;}edge
阅读全文
posted @ 2017-10-21 20:42 荒岛的龟
阅读(150)
评论(0)
推荐(0)
2017年10月14日
链式前向星理解(转载)
摘要: http://blog.csdn.net/acdreamers/article/details/16902023(原作者) 我们首先来看一下什么是前向星. 前向星是一种特殊的边集数组,我们把边集数组中的每一条边按照起点从小到大排序,如果起点相同就按照终点从小到大排序, 并记录下以某个点为起点的所有边
阅读全文
posted @ 2017-10-14 20:16 荒岛的龟
阅读(179)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
公告