摘要:
1.kmp /* kmp */ #include<iostream> #include<stdio.h> #include<string.h> using namespace std; #define MAXN 1024//字符串长度 int _next[MAXN]; void GetNext(ch 阅读全文
posted @ 2016-04-06 20:47
gongpixin
阅读(281)
评论(0)
推荐(0)
摘要:
所有排序默认均为升序。 一、插入排序 1.1直接插入排序 /* 直接插入排序 */ #include<iostream> #include<stdio.h> using namespace std; void InsertSort(int R[],int n){//对R[0..n-1]按递增有序进行 阅读全文
posted @ 2016-04-06 20:09
gongpixin
阅读(313)
评论(0)
推荐(0)
摘要:
ps:实现是实现了,但错误未知,甚用。 ps:代码有点臃肿,凑和用着。 ps:能用java就用java,其次手写,最后套用这个。 整数: 1.int数组 /* 整数大数 int数组实现 */ #include<iostream> #include<stdio.h> #include<stdlib.h 阅读全文
posted @ 2016-04-06 19:58
gongpixin
阅读(307)
评论(0)
推荐(0)
摘要:
1 阅读全文
posted @ 2016-04-06 19:36
gongpixin
阅读(141)
评论(0)
推荐(0)
摘要:
23 阅读全文
posted @ 2016-04-06 19:19
gongpixin
阅读(186)
评论(0)
推荐(0)
摘要:
ID Origin Title 17 / 60 Problem A ZOJ 3537 Cake 54 / 105 Problem B LightOJ 1422 Halloween Costumes 59 / 90 Problem C POJ 2955 Brackets 26 / 51 Problem 阅读全文
posted @ 2016-04-06 19:18
gongpixin
阅读(400)
评论(0)
推荐(0)
摘要:
21 阅读全文
posted @ 2016-04-06 19:17
gongpixin
阅读(147)
评论(0)
推荐(0)
摘要:
ID Origin Title 20 / 60 Problem A HDU 3507 Print Article 13 / 19 Problem B HDU 2829 Lawrence 1 / 5 Problem C HDU 4528 小明系列故事――捉迷藏 5 / 6 Problem D HDU 阅读全文
posted @ 2016-04-06 19:16
gongpixin
阅读(378)
评论(0)
推荐(0)
摘要:
19 阅读全文
posted @ 2016-04-06 19:15
gongpixin
阅读(193)
评论(0)
推荐(0)
摘要:
18 阅读全文
posted @ 2016-04-06 19:14
gongpixin
阅读(127)
评论(0)
推荐(0)
摘要:
17 阅读全文
posted @ 2016-04-06 19:12
gongpixin
阅读(162)
评论(0)
推荐(0)
摘要:
16 阅读全文
posted @ 2016-04-06 19:11
gongpixin
阅读(161)
评论(0)
推荐(0)
摘要:
ID Origin Title 62 / 175 Problem A CodeForces 55D Beautiful numbers 30 / 84 Problem B HDU 4352 XHXJ's LIS 108 / 195 Problem C HDU 2089 不要62 89 / 222 P 阅读全文
posted @ 2016-04-06 19:10
gongpixin
阅读(285)
评论(0)
推荐(0)
摘要:
ID Origin Title 111 / 423 Problem A LightOJ 1370 Bi-shoe and Phi-shoe 21 / 74 Problem B LightOJ 1356 Prime Independence 61 / 332 Problem C LightOJ 134 阅读全文
posted @ 2016-04-06 19:09
gongpixin
阅读(707)
评论(0)
推荐(0)
摘要:
13 阅读全文
posted @ 2016-04-06 19:08
gongpixin
阅读(183)
评论(0)
推荐(0)
摘要:
ID Origin Title 167 / 465 Problem A HDU 1024 Max Sum Plus Plus 234 / 372 Problem B HDU 1029 Ignatius and the Princess IV 161 / 259 Problem C HDU 1069 阅读全文
posted @ 2016-04-06 19:07
gongpixin
阅读(367)
评论(0)
推荐(0)
摘要:
ID Origin Title 34 / 81 Problem A POJ 3436 ACM Computer Factory 92 / 195 Problem B POJ 3281 Dining 55 / 148 Problem C POJ 1087 A Plug for UNIX 59 / 11 阅读全文
posted @ 2016-04-06 19:05
gongpixin
阅读(813)
评论(0)
推荐(0)
摘要:
A-L 二分匹配 M-O 二分图多重匹配 P-Q 二分图最大权匹配 R-S 一般图匹配带花树 模板请自己找 ID Origin Title 61 / 72 Problem A HDU 1045 Fire Net 52 / 112 Problem B HDU 2444 The Accomodation 阅读全文
posted @ 2016-04-06 19:04
gongpixin
阅读(685)
评论(0)
推荐(0)
摘要:
ID Origin Title 76 / 163 Problem A POJ 1236 Network of Schools 59 / 177 Problem B UVA 315 Network 49 / 151 Problem C UVA 796 Critical Links 28 / 109 P 阅读全文
posted @ 2016-04-06 19:03
gongpixin
阅读(576)
评论(0)
推荐(0)
摘要:
8 阅读全文
posted @ 2016-04-06 19:02
gongpixin
阅读(197)
评论(0)
推荐(0)