poj 3180 The Cow Prom (Tarjan 求>=2的集团数)
题目链接:http://poj.org/problem?id=3180
code:
#include
#include
#include
#include
using namespace std;
const int maxn=10010;
const int maxe=80000;
struct edge
{
int to,next;
} P[maxe];
int head[
原创
2014-10-15 17:11:08 ·
685 阅读 ·
0 评论