强连通分量
SAuppp
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
bzoj1051
大家 一定要搞清楚trajan 与 tarjan的区别 233 这道题直接"trajan" 求出出度为0的点 就可以了 #include #include #include #include using namespace std; int p,be[10001],out[10001]; int n,m,u,v,t,ans; struct edge {原创 2015-02-08 10:47:01 · 446 阅读 · 0 评论 -
bzoj2330
简直做了3个小时 我还是太辣鸡了。不过我居然没考虑到差分约束(明明是你记不到了233黑算法乱搞tarjan 拓扑排序黑过去了#include <queue> #include <cstdio> #include <cstring> #include <algorithm> #define LL long long using namespace ...原创 2016-03-10 18:29:34 · 465 阅读 · 0 评论
分享