摘要:
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
阅读(287)
评论(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
阅读(315)
评论(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
阅读(319)
评论(0)
推荐(0)
摘要:
1 阅读全文
posted @ 2016-04-06 19:36
gongpixin
阅读(143)
评论(0)
推荐(0)
摘要:
23 阅读全文
posted @ 2016-04-06 19:19
gongpixin
阅读(189)
评论(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
阅读(402)
评论(0)
推荐(0)
摘要:
21 阅读全文
posted @ 2016-04-06 19:17
gongpixin
阅读(148)
评论(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
阅读(380)
评论(0)
推荐(0)
摘要:
19 阅读全文
posted @ 2016-04-06 19:15
gongpixin
阅读(195)
评论(0)
推荐(0)
摘要:
18 阅读全文
posted @ 2016-04-06 19:14
gongpixin
阅读(128)
评论(0)
推荐(0)
摘要:
17 阅读全文
posted @ 2016-04-06 19:12
gongpixin
阅读(164)
评论(0)
推荐(0)
摘要:
16 阅读全文
posted @ 2016-04-06 19:11
gongpixin
阅读(162)
评论(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
阅读(708)
评论(0)
推荐(0)
摘要:
13 阅读全文
posted @ 2016-04-06 19:08
gongpixin
阅读(184)
评论(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
阅读(369)
评论(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
阅读(819)
评论(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
阅读(689)
评论(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
阅读(577)
评论(0)
推荐(0)
摘要:
8 阅读全文
posted @ 2016-04-06 19:02
gongpixin
阅读(199)
评论(0)
推荐(0)
摘要:
ID Origin Title 228 / 440 Problem A HDU 1166 敌兵布阵 207 / 438 Problem B HDU 1754 I Hate It 181 / 727 Problem C POJ 3468 A Simple Problem with Integers 1 阅读全文
posted @ 2016-04-06 19:01
gongpixin
阅读(560)
评论(0)
推荐(0)
摘要:
6 阅读全文
posted @ 2016-04-06 18:59
gongpixin
阅读(146)
评论(0)
推荐(0)
摘要:
5 阅读全文
posted @ 2016-04-06 18:58
gongpixin
阅读(159)
评论(0)
推荐(0)
摘要:
4 阅读全文
posted @ 2016-04-06 18:57
gongpixin
阅读(209)
评论(0)
推荐(0)
摘要:
3 阅读全文
posted @ 2016-04-06 18:56
gongpixin
阅读(182)
评论(0)
推荐(0)
摘要:
2 阅读全文
posted @ 2016-04-06 18:55
gongpixin
阅读(192)
评论(0)
推荐(0)
摘要:
ID Origin Title 454 / 1008 Problem A POJ 1321 棋盘问题 328 / 854 Problem B POJ 2251 Dungeon Master 335 / 1101 Problem C POJ 3278 Catch That Cow 161 / 503 阅读全文
posted @ 2016-04-06 18:54
gongpixin
阅读(336)
评论(0)
推荐(0)
浙公网安备 33010602011771号