自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

新月

红色春天的开始

  • 博客(32)
  • 收藏
  • 关注

原创 hdu4521 小明系列问题——小明序列

Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2346    Accepted Submission(s): 734Problem Description  大家都知道小明最喜欢研究跟序列有关的问题了,可是也就

2015-09-30 18:52:44 674

原创 hdu5491 The Next

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 740    Accepted Submission(s): 294Problem DescriptionLet L denote the number of

2015-09-29 13:18:48 601

原创 poj1180 Batch Scheduling

Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 3590 Accepted: 1654DescriptionThere is a sequence of N jobs to be processed on one machine. The jobs are numbered

2015-09-25 20:44:45 540

原创 poj2018 Best Cow Fences

Time Limit: 1000MS Memory Limit: 30000KTotal Submissions: 9985 Accepted: 3237DescriptionFarmer John's farm consists of a long row of N (1 FJ wants to build a fence arou

2015-09-24 20:04:51 3041 2

原创 hdu3045 Picnic Cows

Time Limit: 8000/4000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2099    Accepted Submission(s): 648Problem DescriptionIt’s summer vocation now. Af

2015-09-24 16:24:28 742

原创 hdu3669 Cross the Wall

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 327680/327680 K (Java/Others)Total Submission(s): 4619    Accepted Submission(s): 846Problem Description“Across the Great Wall, we

2015-09-23 19:56:16 715

原创 poj1260 Pearls

DescriptionIn Pearlania everybody is fond of pearls. One company, called The Royal Pearl, produces a lot of jewelry with pearls in it. The Royal Pearl has its name because it delivers to the royal

2015-09-23 13:25:41 489

原创 hdu4528 小明系列故事——捉迷藏

Time Limit: 500/200 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1228    Accepted Submission(s): 322Problem Description  小明的妈妈生了三个孩子,老大叫大明, 老二叫二明, 老三

2015-09-22 21:02:13 737

原创 hdu5459 Jesus Is Here

Problem DescriptionI've sent Fang Fang around 201314 text messages in almost 5 years. Why can't she make sense of what I mean?``But Jesus is here!" the priest intoned. ``Show me your messages."

2015-09-21 21:25:08 676

原创 hdu3507 Print Article

Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 7513    Accepted Submission(s): 2341Problem DescriptionZero has an old printer th

2015-09-20 11:35:04 752

原创 571A Lengthening Sticks

time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given three sticks with positive integer lengths of a, b,

2015-09-18 17:40:00 440

原创 codeforces578C. Weakness and Poorness

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a sequence of n integers a1, a2, ..., an.Deter

2015-09-17 11:40:13 754

原创 codeforces 574D. Bear and Blocks

Limak is a little bear who loves to play. Today he is playing by destroying block towers. He built n towers in a row. The i-th tower is made of hi identical blocks. For clarification see picture f

2015-09-16 19:32:41 704

原创 hdu5444 Elven Postman

Time Limit: 1500/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 392    Accepted Submission(s): 212Problem DescriptionElves are very peculiar cre

2015-09-14 19:46:02 471

原创 hdu5442 Favorite Donut

Problem DescriptionLulu has a sweet tooth. Her favorite food is ring donut. Everyday she buys a ring donut from the same bakery. A ring donut is consists of n parts. Every part has its own sugar

2015-09-14 12:43:17 613

原创 hdu5437 Alisha’s Party

Problem DescriptionPrincess Alisha invites her friends to come to her birthday party. Each of her friends will bring a gift of some value v, and all of them will come at a different time. Becaus

2015-09-13 21:28:13 936

原创 hdu5433 Xiao Ming climbing

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 438    Accepted Submission(s): 108Problem DescriptionDue to the curse made by the

2015-09-13 19:20:25 888

原创 hdu5432 Pyramid Split

Problem DescriptionXiao Ming is a citizen who's good at playing,he has lot's of gold cones which have square undersides,let's call them pyramids.Anyone of them can be defined by the square's l

2015-09-13 18:04:38 660

原创 Codeforces Round #316 (Div. 2) C. Replacement

time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDaniel has a string s, consisting of lowercase English letters a

2015-09-12 15:50:19 904

原创 hdu5396 Expression

Problem DescriptionTeacher Mai has n numbers a1,a2,⋯,anand n−1 operators("+", "-" or "*")op1,op2,⋯,opn−1, which are arranged in the form a1 op1 a2 op2 a3 ⋯ an.He wants to erase numbers one

2015-09-10 20:26:37 490

原创 hdu3506 Monkey Party

Problem DescriptionFar away from our world, there is a banana forest. And many lovely monkeys live there. One day, SDH(Song Da Hou), who is the king of banana forest, decides to hold a big party t

2015-09-10 18:14:11 568

原创 hdu3516 Tree Construction

Problem DescriptionConsider a two-dimensional space with a set of points (xi, yi) that satisfy xi yj for all i < j. We want to have them all connected by a directed tree whose edges go toward eit

2015-09-09 20:42:48 615

原创 hdu3480 Division

Problem DescriptionLittle D is really interested in the theorem of sets recently. There’s a problem that confused him a long time.  Let T be a set of integers. Let the MIN be the minimum integer

2015-09-09 19:24:48 527

原创 hdu2476 String painter

Problem DescriptionThere are two strings A and B with equal length. Both strings are made up of lower case letters. Now you have a powerful string painter. With the help of the painter, you can ch

2015-09-09 16:43:11 471

原创 poj3661 Running

DescriptionThe cows are trying to become better athletes, so Bessie is running on a track for exactly N (1 ≤ N ≤ 10,000) minutes. During each minute, she can choose to either run or rest for the w

2015-09-08 19:06:22 623

原创 LightOJ 1422 Halloween Costumes

DescriptionGappu has a very busy weekend ahead of him. Because, next weekend is Halloween, and he is planning to attend as many parties as he can. Since it's Halloween, these parties are all cos

2015-09-08 14:42:45 476

原创 poj1651 Multiplication Puzzle

DescriptionThe multiplication puzzle is played with a row of cards, each containing a single positive integer. During the move player takes one card out of the row and scores the number of points

2015-09-07 20:12:54 421

原创 poj3280 Cheapest Palindrome

DescriptionKeeping track of all the cows can be a tricky task so Farmer John has installed a system to automate it. He has installed on each cow an electronic ID tag that the system will read as t

2015-09-07 19:30:49 456

原创 hdu2829 Lawrence

Problem DescriptionT. E. Lawrence was a controversial figure during World War I. He was a British officer who served in the Arabian theater and led a group of Arab nationals in guerilla strikes ag

2015-09-03 20:05:34 688

原创 NYOJ746——整数划分(四)

描述       暑假来了,hrdv 又要留学校在参加ACM集训了,集训的生活非常Happy(ps:你懂得),可是他最近遇到了一个难题,让他百思不得其解,他非常郁闷。。亲爱的你能帮帮他吗?      问题是我们经常见到的整数划分,给出两个整数 n , m ,要求在 n 中加入m - 1 个乘号,将n分成m段,求出这m段的最大乘积输入第一行是一个整数T,表示有T组

2015-09-02 20:21:23 687

原创 poj1141 Brackets Sequence

DescriptionLet us define a regular brackets sequence in the following way: 1. Empty sequence is a regular sequence. 2. If S is a regular sequence, then (S) and [S] are both regular sequences

2015-09-02 16:46:27 482

原创 poj2955 Brackets

DescriptionWe give the following inductive definition of a “regular brackets” sequence:the empty sequence is a regular brackets sequence,if s is a regular brackets sequence, then (s) and [s]

2015-09-02 12:30:09 439

空空如也

空空如也

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

TA关注的人

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