自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(25)
  • 收藏
  • 关注

原创 Hdu 1166

敌兵布阵 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 60585    Accepted Submission(s): 25682 Problem Description C国的死对头A国这段时间正在进行军事演

2015-08-28 11:30:48 449

原创 hdu 1028

A - Ignatius and the Princess III Time Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64u Description "Well, it seems the first problem is too easy. I will let you kn

2015-08-22 23:26:28 529

原创 Hdu 2122

Ice_cream’s world III Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1350    Accepted Submission(s): 449 Problem Description ice_c

2015-08-20 19:04:56 498

原创 Uva 10534

题目在这里就不复制了,因为原网站是pdf的格式粘贴过来格式会有问题。这道题容易想到是最长上升子序列的问题,但是却因为特殊条件———先增后减而感到头痛,一般会先采用dp来处理,基本思路是将某一个点当成是一个序列最大值和另一个序列的最小值,且这两个序列无除该点外无交集。那么可以预先处理进行dp操作得到解。以下是这种思路的代码: #include #include #include using nam

2015-08-16 21:51:56 535

原创 CodeForces 567B

B. Berland National Library time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Berland National Library has recen

2015-08-15 22:26:37 857

原创 POJ 2406

Power Strings Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 37793   Accepted: 15643 Description Given two strings a and b we define a*b to be their concatena

2015-08-14 22:49:09 307

原创 Hdu 1789

Doing Homework again Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 8963    Accepted Submission(s): 5292 Problem Description Ignat

2015-08-14 17:03:35 439

原创 SGN 495

495. Kids and Prizes Time limit per test: 0.25 second(s) Memory limit: 262144 kilobytes input: standard output: standard ICPC (International Cardboard Producing Company) is in the busines

2015-08-14 16:52:09 399

原创 POJ 2226

Muddy Fields Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 9033   Accepted: 3355 Description Rain has pummeled the cows' field, a rectangular grid of R rows

2015-08-11 22:25:04 384

原创 POJ 3461

Oulipo Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 29195   Accepted: 11701 Description The French author Georges Perec (1936–1982) once wrote a boo

2015-08-11 22:13:41 328

原创 Uva 3027

Time Limit:3000MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Description A very big corporation is developing its corporative network. In the beginning each of the N enterprise

2015-08-08 17:15:36 468

原创 POJ 2836

Rectangular Covering Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 1893   Accepted: 523 Description n points are given on the Cartesian plane. Now you ha

2015-08-07 17:01:07 469

原创 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): 3827 Problem Description Background

2015-08-06 22:35:15 320

原创 POJ 2441

Arrange the Bulls Time Limit: 4000MS   Memory Limit: 65536K Total Submissions: 3856   Accepted: 1484 Description Farmer Johnson's Bulls love playing basketball very muc

2015-08-04 17:29:56 385

原创 Codeforce 148D

D. Bag of mice time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The dragon and the princess are arguing abou

2015-08-03 17:04:22 312

原创 Codeforces 435B

Pasha Maximizes time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Pasha has a positive integer a without leadi

2015-08-01 16:16:57 428

原创 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): 12161 Problem Descript

2015-07-30 16:38:25 293

原创 数字三角

数字三角 Time Limit:0MS     Memory Limit:0KB     64bit IO Format:%lld & %llu Description 下图是个数字三角,请编写一个程序计算从顶部至底部某处一条路径,使得该路径所经过的数字总和最大。 7 3  8 8  1  0 2  7  4  4 1.  每一步可沿左斜线向下或右斜

2015-07-30 09:30:07 591

原创 Hdu 1051

Wooden Sticks Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 14809    Accepted Submission(s): 6069 Problem Description There is a pile

2015-07-28 16:43:02 372

原创 Hdu 2289

Cup Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 5349    Accepted Submission(s): 1710 Problem Description The WHU ACM Team has a big

2015-07-26 17:06:13 499

原创 HDU 1548

A strange lift Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15642    Accepted Submission(s): 5853 Problem Description There is

2015-07-25 16:13:37 362

原创 ZOJ 1204

Additive equations Time 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 524

原创 Hdu 1241

Oil Deposits Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 17290    Accepted Submission(s): 9961 Problem Description The GeoSurvCom

2015-07-22 10:13:52 274

原创 POJ3620

Avoid The Lakes Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6697   Accepted: 3595 Description Farmer John's farm was flooded in the most recent storm, a

2015-07-20 21:57:19 402

原创 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 938

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除