自定义博客皮肤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 Cow Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 43761   Accepted: 13650 Description Farmer John has been informed of the location of a fugitiv

2014-05-24 12:39:02 472

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

Longest Ordered Subsequence Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 31353   Accepted: 13688 Description A numeric sequence of ai is ordered if a1 a2 a

2014-05-21 21:03:33 555

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

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

2014-05-18 17:14:45 466

原创 poj 3176 Cow Bowling

Cow Bowling Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 13278   Accepted: 8772 Description The cows don't use actual bowling balls when they go bowling. Th

2014-05-18 14:42:29 430

原创 poj 1088 滑雪

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

2014-05-18 10:07:03 419

原创 poj3624 Charm Bracelet

#include #include using 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 410

原创 poj 1159 Palindrome

Palindrome Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 50887   Accepted: 17525 Description A palindrome is a symmetrical string, that is, a string read ide

2014-05-17 13:25:12 484

原创 1007. To and Fro

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

2014-01-14 18:05:47 1007

原创 1150. 简单魔板

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

2013-09-10 12:14:48 646

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

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

2013-09-09 13:31:28 1201

原创 2005. Lovely Number

Submit 2005. Lovely Number Constraints Time Limit: 1 secs, Memory Limit: 64 MB Description Every time after got a solution from kevin, ivan repeats again and again,"Are there any better

2013-09-05 10:44:38 702

原创 1510. Mispelling

1510. Mispelling Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description Misspelling 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 977

原创 1561. PRIME

1561. PRIME Constraints Time Limit: 1 secs, Memory Limit: 32 MB Description A 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 614

原创 1443. Printer Queue

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

2013-09-04 20:01:28 553

原创 1134. 积木分发

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

2013-09-04 12:09:20 903

空空如也

空空如也

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

TA关注的人

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