自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

我是一颗小星星~

Keep It Simple And Stupid.

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

原创 hdu1052 田忌赛马问题

原题大意:分别给你田忌和国王的马匹的速度,只有田忌马匹的速度大于国王的速度(相等时不赢不输),才能赢得比赛,获得200,求n场比赛后田忌能获得的最大钱币。 贪心:1)   田忌的最快与齐王最快比,田忌快则PK掉,田忌慢则用田忌最慢的PK齐王最快;            2)   快马相等的话,用田忌的最慢与齐王最慢比,田忌快则PK掉,田忌慢则PK齐王最快;            3)   最

2013-05-30 22:50:54 876

原创 POJ 3250 Bad Hair Day -- 栈

Bad Hair Day Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 11340   Accepted: 3832 Description Some of Farmer John's N cows (1 ≤ N ≤ 80,000) are having a ba

2013-05-15 13:20:12 682

原创 A + B Problem II && 大数相加相减

A + B Problem II Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Problem Description I have a very simple problem for you. Given two integers A and B, your j

2013-05-08 21:26:06 1041 1

原创 Oil Deposits poj1562 + Counting sheep hdu2952

Oil Deposits Time Limit: 1000MS   Memory Limit: 10000K   Description The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSur

2013-05-08 21:16:21 832

原创 Sliding Window poj2823--单调队列

Sliding Window Time Limit: 12000MS   Memory Limit: 65536K   Case Time Limit: 5000MS Description An array of size n ≤ 106 is given to you. There is a sliding window o

2013-05-06 18:51:49 796

空空如也

空空如也

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

TA关注的人

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