#Neighborhood

POJ 1659 Frogs' Neighborhood(可图性判定—Havel-Hakimi定理)【超详解】

TimeLimit:5000MS MemoryLimit:10000KTotalSubmissions:9897 Accepted:4137 SpecialJudgeDescription未名湖附近共有N个大小湖泊L1,L2,...,Ln(其中包括未名湖),每个湖泊Li里住着一只青蛙Fi(...

BZOJ 1604 [Usaco2008 Open]Cow Neighborhoods 奶牛的邻居 Treap

#include<ctime>#include<cstdio>#include<cstdlib>#include<cstring>#include<iostream>#include<algorithm>#defineN100010usingnam...