摘要: #include #include #include using namespace std; struct my{ int next; int v; int w; }; struct lmjer{ int x,w; bool operatorrhs.w; } }; const int nil=0x7f7f... 阅读全文
posted @ 2018-07-30 20:00 lmjer 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 。。。。。。。。。。 。 。。只想讲一句话,写前向星的同学注意 加(0,i) 边时,一定从n倒叙,,有一组数据卡。。。。 阅读全文
posted @ 2018-07-30 11:06 lmjer 阅读(121) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; const int maxn=200; struct my{ int next; int v; }; my bian[maxn*maxn]; int adj[maxn],fa,cnt,n,dfn[maxn],dfsn,instack[maxn*maxn],top; i... 阅读全文
posted @ 2018-07-30 09:14 lmjer 阅读(90) 评论(0) 推荐(0) 编辑