T1:pog loves szh I(hdu 5264)题目大意:给出把AB两个字符串交叉拼起来的结果,求出原串。题解:不解释。。直接每次+2输出。T2:pog loves szh II(hdu 5265)题目大意:给出N个数,求Mod P域下两个数最大和。 N<=100000题解:先把所有数Mod...
分类:
其他好文 时间:
2015-07-20 09:10:14
阅读次数:
106
题目传送门/* DP:先用l,r数组记录前缀后缀上升长度,最大值会在三种情况中产生: 1. a[i-1] + 1 #include #include using namespace std;const int MAXN = 1e5 + 10;const int INF = 0x...
分类:
其他好文 时间:
2015-07-18 19:48:44
阅读次数:
91
题目如下:
Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopping mall which could accept all kinds of coins as payme...
分类:
其他好文 时间:
2015-07-18 12:41:59
阅读次数:
124
Problem G Big Chocolate Mohammad has recently visited Switzerland . As he loves his friends very much, he decided to buy some chocolate for them, but ...
分类:
其他好文 时间:
2015-07-17 22:23:41
阅读次数:
116
DescriptionMohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine ch...
分类:
其他好文 时间:
2015-07-17 22:21:23
阅读次数:
122
大巧克力问题题目大意:Mohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fine ch...
分类:
其他好文 时间:
2015-07-17 22:17:58
阅读次数:
146
(慢慢看题目,O(∩_∩)O~)Mohammad has recently visitedSwitzerland. As he loves his friends very much, he decided to buy some chocolate for them, but as this fi...
分类:
其他好文 时间:
2015-07-16 22:03:15
阅读次数:
145
Time Limit:1000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 446ADescriptionDZY has a sequencea, consisting ofnin...
分类:
其他好文 时间:
2015-07-16 18:49:02
阅读次数:
95
ZYB loves Xor I
Accepts: 142
Submissions: 696
Time Limit: 2000/1000 MS (Java/Others)
Memory Limit: 65536/65536 K (Java/Others)
问题描述
ZYB喜欢研究Xor,现在他得到了一个长度为n的数组A。于是他想知道:对于所有数对...
分类:
其他好文 时间:
2015-07-14 22:42:10
阅读次数:
172
http://acm.hdu.edu.cn/showproblem.php?pid=5282
Problem Description
Xuejiejie loves strings most. In order to win the favor of her, a young man has two strings X, Y to
Xuejiejie. Xuejiejie ha...
分类:
其他好文 时间:
2015-07-14 13:45:05
阅读次数:
171