自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 poj 3278 Catch That Cow(BFS,剪枝)

Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 43761 Accepted: 13650DescriptionFarmer John has been informed of the location of a fugitiv

2014-05-24 12:39:02 445

原创 Longest Ordered Subsequence (最长有序(递增)序列)

Longest Ordered SubsequenceTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 31353 Accepted: 13688DescriptionA numeric sequence of ai is ordered ifa1 a2 a

2014-05-21 21:03:33 523

转载 1003 Max Sum 最长连续子序列和

【博主赠言】博主弱爆了,

2014-05-18 17:14:45 445

原创 poj 3176 Cow Bowling

Cow BowlingTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 13278 Accepted: 8772DescriptionThe cows don't use actual bowling balls when they go bowling. Th

2014-05-18 14:42:29 406

原创 poj 1088 滑雪

滑雪Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 73256 Accepted: 27081DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升

2014-05-18 10:07:03 413

原创 poj3624 Charm Bracelet

#include#includeusing namespace std;int main(){ int m,n; //n个包裹 vector > v; cin>>n>>m; for(int i=0;i<n;i++){ int t1,t2; cin>>t1>>t2; v.push_back(pair (t1,t2)); } int dp[13000] = {0};

2014-05-18 09:57:36 403

原创 poj 1159 Palindrome

PalindromeTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 50887 Accepted: 17525DescriptionA palindrome is a symmetrical string, that is, a string read ide

2014-05-17 13:25:12 476

原创 1007. To and Fro

【题目要求】1007. To and FroConstraintsTime Limit: 1 secs, Memory Limit: 32 MB DescriptionMo and Larry have devised a way of encrypting messages. They first decide secretly on the number ofcol

2014-01-14 18:05:47 984

原创 1150. 简单魔板

1150. 简单魔板ConstraintsTime Limit: 1 secs, Memory Limit: 32 MB , Special JudgeDescription魔板由8个大小相同方块组成,分别用涂上不同颜色,用1到8的数字表示。其初始状态是1 2 3 48 7 6 5对魔板可进行三种基本操作:A操作(上下行互换):8 7 6 51 2

2013-09-10 12:14:48 637

原创 1147. 谁拿了最多奖学金

1147. 谁拿了最多奖学金ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescription某校的惯例是在每学期的期末考试之后发放奖学金。发放的奖学金共有五种,获取的条件各自不同:  1)      院士奖学金,每人8000元,期末平均成绩高于80分(>80),并且在本学期内发表1篇或1篇以上论文的学生均可获得;

2013-09-09 13:31:28 1169

原创 2005. Lovely Number

Submit2005. Lovely NumberConstraintsTime Limit: 1 secs, Memory Limit: 64 MBDescriptionEvery time after got a solution from kevin, ivan repeats again and again,"Are there any better

2013-09-05 10:44:38 676

原创 1510. Mispelling

1510. MispellingConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionMisspelling is an art form that students seem to excel at. Write a program that removes the n th ch

2013-09-04 22:05:53 970

原创 1561. PRIME

1561. PRIMEConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionA prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. The f

2013-09-04 21:01:26 603

原创 1443. Printer Queue

【题目要求】ConstraintsTime Limit: 1 secs, Memory Limit: 32 MBDescriptionThe only printer in the computer science students' union is experiencing an extremely heavy workload. Sometimes t

2013-09-04 20:01:28 546

原创 1134. 积木分发

ConstraintsTime Limit: 10 secs, Memory Limit: 32 MBDescription歌手The Pancakes到幼儿园跟小朋友玩耍,她到达的时候小朋友们已经争着积木玩了。小朋友都想要更多的积木砌一个自己喜欢的图形,砌完就可以和The Pancakes合照。同时,The Pancakes手上还有一些积木,她可以把手上的这些

2013-09-04 12:09:20 890

空空如也

空空如也

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

TA关注的人

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