点点滴滴”

导航

2014年12月15日 #

网络流模板

摘要: /************************************************************************网络流的定义好多呀 这里就仅仅标注定义名字吧 详细解释就交给以后的自己啦==容量网络和网络最大流1.容量 (容量网络,弧的容量,弧的流量)2.网络流... 阅读全文

posted @ 2014-12-15 17:28 点点滴滴” 阅读(175) 评论(0) 推荐(0) 编辑

2014年9月29日 #

poj 1806 分块模拟

摘要: Manhattan 2025Time Limit: 1000MSMemory Limit: 30000KTotal Submissions: 1318Accepted: 703DescriptionBackground Manhattan in the year 2025 - it is so de... 阅读全文

posted @ 2014-09-29 19:22 点点滴滴” 阅读(238) 评论(0) 推荐(0) 编辑

poj 1702 三进制问题

摘要: Time Limit: 1000MSMemory Limit: 10000KTotal Submissions: 3906Accepted: 1924DescriptionEva has a balance with 20 poises. The weights of the poises are ... 阅读全文

posted @ 2014-09-29 16:42 点点滴滴” 阅读(220) 评论(0) 推荐(0) 编辑

2014年9月27日 #

二进制求最大公约数&&输出二进制

摘要: Divided LandTime Limit: 8000/4000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 56Accepted Submission(s): 27 Problem ... 阅读全文

posted @ 2014-09-27 19:14 点点滴滴” 阅读(228) 评论(0) 推荐(0) 编辑

2014年9月26日 #

归并求逆序数(逆序对数) && 线段树求逆序数

摘要: BrainmanTime Limit: 1000 MS Memory Limit: 30000 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]DescriptionB... 阅读全文

posted @ 2014-09-26 19:08 点点滴滴” 阅读(274) 评论(0) 推荐(0) 编辑

2014年9月25日 #

poj 1286&&poj2409 Polya计数 颜色匹配

摘要: #include #include using namespace std;#define LL long longLL gcd(LL a, LL b){ return b ? gcd(b, a % b) : a;}LL polya(LL n){ LL ret = 0; for(L... 阅读全文

posted @ 2014-09-25 19:38 点点滴滴” 阅读(171) 评论(0) 推荐(0) 编辑

2014年9月22日 #

poj 1099

摘要: http://poj.org/problem?id=1099#include#include#include using namespace std;#define N 60int x,y,n;char mat[N][N];struct node{ int num,id; int han... 阅读全文

posted @ 2014-09-22 20:36 点点滴滴” 阅读(239) 评论(0) 推荐(0) 编辑

2014年9月16日 #

poj 3070

摘要: FibonacciTime Limit: 1000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Description... 阅读全文

posted @ 2014-09-16 19:49 点点滴滴” 阅读(132) 评论(0) 推荐(0) 编辑

2014年9月14日 #

http://blog.sina.com.cn/s/blog_4c3b6a070100etad.html

摘要: http://blog.sina.com.cn/s/blog_4c3b6a070100etad.html 阅读全文

posted @ 2014-09-14 16:43 点点滴滴” 阅读(215) 评论(0) 推荐(0) 编辑

卡特兰大数及样例

摘要: http://blog.163.com/lz_666888/blog/static/1147857262009914112922803/ 阅读全文

posted @ 2014-09-14 10:36 点点滴滴” 阅读(139) 评论(0) 推荐(0) 编辑