
模板
文章平均质量分 71
wwwiskey
学生
展开
-
最大流、最小费用最大流【模板】
一下代码版权归:HIT xiaodai 最大流模板:(题目链接) #include #include #include using namespace std; #define N 1200 #define M 50220 #define INF 0x3f3f3f3f class MaxFlow { public: struct record { int原创 2012-08-18 11:31:32 · 3348 阅读 · 0 评论 -
C++大数模板 BigInteger
网上搜集的一份写的灰常漂亮的大数模板。Mark之~~~~ 看不懂的自行补脑了 +_+ #include #include #include using namespace std; struct BigInteger{ int A[25]; enum{MOD = 10000}; BigInteger(){memset(A, 0, sizeof(A));转载 2013-08-11 10:56:07 · 8880 阅读 · 0 评论