- 博客(25)
- 收藏
- 关注
原创 Hdu 1166
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 60585 Accepted Submission(s): 25682Problem DescriptionC国的死对头A国这段时间正在进行军事演
2015-08-28 11:30:48
434
原创 hdu 1028
A - Ignatius and the Princess IIITime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription"Well, it seems the first problem is too easy. I will let you kn
2015-08-22 23:26:28
515
原创 Hdu 2122
Ice_cream’s world IIITime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1350 Accepted Submission(s): 449Problem Descriptionice_c
2015-08-20 19:04:56
482
原创 Uva 10534
题目在这里就不复制了,因为原网站是pdf的格式粘贴过来格式会有问题。这道题容易想到是最长上升子序列的问题,但是却因为特殊条件———先增后减而感到头痛,一般会先采用dp来处理,基本思路是将某一个点当成是一个序列最大值和另一个序列的最小值,且这两个序列无除该点外无交集。那么可以预先处理进行dp操作得到解。以下是这种思路的代码:#include#include#includeusing nam
2015-08-16 21:51:56
512
原创 CodeForces 567B
B. Berland National Librarytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBerland National Library has recen
2015-08-15 22:26:37
832
原创 POJ 2406
Power StringsTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 37793 Accepted: 15643DescriptionGiven two strings a and b we define a*b to be their concatena
2015-08-14 22:49:09
291
原创 Hdu 1789
Doing Homework againTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8963 Accepted Submission(s): 5292Problem DescriptionIgnat
2015-08-14 17:03:35
425
原创 SGN 495
495. Kids and PrizesTime limit per test: 0.25 second(s)Memory limit: 262144 kilobytesinput: standardoutput: standardICPC (International Cardboard Producing Company) is in the busines
2015-08-14 16:52:09
387
原创 POJ 2226
Muddy FieldsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 9033 Accepted: 3355DescriptionRain has pummeled the cows' field, a rectangular grid of R rows
2015-08-11 22:25:04
371
原创 POJ 3461
OulipoTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 29195 Accepted: 11701DescriptionThe French author Georges Perec (1936–1982) once wrote a boo
2015-08-11 22:13:41
318
原创 Uva 3027
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescriptionA very big corporation is developing its corporative network. In the beginning each of the N enterprise
2015-08-08 17:15:36
448
原创 POJ 2836
Rectangular CoveringTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1893 Accepted: 523Descriptionn points are given on the Cartesian plane. Now you ha
2015-08-07 17:01:07
448
原创 HDU 1829
A Bug's Life Time Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11768 Accepted Submission(s): 3827Problem DescriptionBackground
2015-08-06 22:35:15
313
原创 POJ 2441
Arrange the BullsTime Limit: 4000MS Memory Limit: 65536KTotal Submissions: 3856 Accepted: 1484DescriptionFarmer Johnson's Bulls love playing basketball very muc
2015-08-04 17:29:56
370
原创 Codeforce 148D
D. Bag of micetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe dragon and the princess are arguing abou
2015-08-03 17:04:22
303
原创 Codeforces 435B
Pasha Maximizestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPasha has a positive integer a without leadi
2015-08-01 16:16:57
409
原创 Hdu 1087
Super Jumping! Jumping! Jumping!Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 27405 Accepted Submission(s): 12161Problem Descript
2015-07-30 16:38:25
285
原创 数字三角
数字三角 Time Limit:0MS Memory Limit:0KB 64bit IO Format:%lld & %lluDescription下图是个数字三角,请编写一个程序计算从顶部至底部某处一条路径,使得该路径所经过的数字总和最大。73 88 1 02 7 4 41. 每一步可沿左斜线向下或右斜
2015-07-30 09:30:07
564
原创 Hdu 1051
Wooden SticksTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 14809 Accepted Submission(s): 6069Problem DescriptionThere is a pile
2015-07-28 16:43:02
362
原创 Hdu 2289
CupTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5349 Accepted Submission(s): 1710Problem DescriptionThe WHU ACM Team has a big
2015-07-26 17:06:13
483
原创 HDU 1548
A strange liftTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15642 Accepted Submission(s): 5853Problem DescriptionThere is
2015-07-25 16:13:37
345
原创 ZOJ 1204
Additive equationsTime Limit: 10 Seconds Memory Limit: 32768 KB We all understand that an integer set is a collection of distinct integers. Now the question is: given an integer set
2015-07-22 17:21:51
506
原创 Hdu 1241
Oil DepositsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17290 Accepted Submission(s): 9961Problem DescriptionThe GeoSurvCom
2015-07-22 10:13:52
258
原创 POJ3620
Avoid The LakesTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6697 Accepted: 3595DescriptionFarmer John's farm was flooded in the most recent storm, a
2015-07-20 21:57:19
386
原创 UVa 11572
题目:输入一个长度为n的序列A,找到一个尽量长的连续子序列,是的该序列中没有相同的元素。代码:方法一#include#include#include#define max(a,b) ((a)>(b)?(a):(b))using namespace std;const int Max=1000000+5;int A[Max];int main(){
2015-07-20 11:30:01
923
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人