自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hellohelloC的博客

一个真正强大的人,不会把太多心思花在取悦和亲附别人上面。所谓圈子、资源,都只是衍生品。最重要的是提高自己的内功。只有自己修炼好了,才会有别人来亲附。自己是梧桐,凤凰才会来栖;自己是大海,百川才来汇聚,

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

原创 HDU 5418 Victor and World(状压dp、floy最短路)

Victor and WorldTime Limit:2000MS    Memory Limit:131072KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5418DescriptionAfter trying hard for many years, Victor has finally rec

2016-07-31 11:55:49 600

原创 Codeforces 543A. Writing Code DP

Writing CodeTime Limit:3000MS    Memory Limit:262144KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 543ADescriptionProgrammers working on a large project have just received a task to

2016-07-31 11:47:54 570

原创 HDU 5410 CRB and His Birthday(01背包+完全背包)

CRB and His BirthdayTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 5410DescriptionToday is CRB's birthday. His mom decided to buy many

2016-07-31 11:36:59 511

原创 HDU 1428 漫步校园(BFS+DFS)

漫步校园Time Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1428DescriptionLL最近沉迷于AC不能自拔,每天寝室、机房两点一线。由于长时间坐在电脑边,缺乏运动。他决定充分利用每次从寝室到机房的时间,在校园里

2016-07-31 11:19:31 535

原创 HDU 1176 免费馅饼(DP)

免费馅饼Time Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 1176Description都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这

2016-07-31 10:51:40 265

原创 Poj 1065 Wooden Sticks【贪心+LIS?】

Wooden SticksTime Limit:1000MS    Memory Limit:10000KB    64bit IO Format:%lld & %lluSubmitStatusDescriptionThere is a pile of n wooden sticks. The length and weight of each stick are know

2016-07-29 01:31:46 450

原创 POJ 2392 Space Elevator(多重背包)

Space ElevatorTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%lld & %lluSubmitStatusDescriptionThe cows are going to space! They plan to achieve orbit by building a sort

2016-07-28 20:29:14 330

原创 POJ 3046 Ant Counting(dp----多重集组合数)

题目链接:http://poj.org/problem?id=3046Ant CountingTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 4763Accepted: 1816DescriptionBessie was poking aroun

2016-07-28 17:29:02 421

原创 POJ 3181 Dollar Dayz(dp)

Dollar DayzTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6074Accepted: 2293DescriptionFarmer John goes to Dollar Days at The Cow Store and discovers

2016-07-28 14:37:51 229

原创 POJ 3280 Cheapest Palindrome(DP)

Cheapest PalindromeTime Limit:2000MS    Memory Limit:65536KB    64bit IO Format:%lld & %lluSubmitStatusDescriptionKeeping track of all the cows can be a tricky task so Farmer John ha

2016-07-28 01:39:21 337

原创 POJ 3616 D - Milking Time(DP)

Milking TimeTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%lld & %lluSubmitStatusDescriptionBessie is such a hard-working cow. In fact, she is so focused on maximizi

2016-07-28 00:08:00 431

原创 POJ 2385 Apple Catching(DP)

Apple CatchingTime Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%lld & %lluSubmitStatusDescriptionIt is a little known fact that cows love apples. Farmer John has two apple

2016-07-27 22:45:22 793

原创 POJ 393 最长上升子序列(vector容器的巧用)

最长上升子序列Time Limit:2000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64uSubmitStatusDescription一个数的序列 bi,当 b1 b2 bS的时候,我们称这个序列是上升的。对于给定的一个序列(a1, a2, ..., aN),我们可以得到一些上升的子序列(ai

2016-07-26 17:54:01 812

原创 HDU 1429 胜利大逃亡(续)(BFS+状态压缩)

胜利大逃亡(续)Time Limit:2000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIgnatius再次被魔王抓走了(搞不懂他咋这么讨魔王喜欢)……这次魔王汲取了上次的教训,把Ignatius关在一个n*m的地牢里,并在地牢的某些

2016-07-26 17:46:11 444

原创 POJ 1390 Blocks(DP)

BlocksTime Limit:5000MS    Memory Limit:65536KB    64bit IO Format:%lld & %lluSubmitStatusDescriptionSome of you may have played a game called 'Blocks'. There are n blocks in a row, ea

2016-07-26 15:03:18 522

原创 POJ 1088 滑雪(dp动态规划)

滑雪Time Limit:1000MS    Memory Limit:65536KB    64bit IO Format:%I64d & %I64uSubmitStatusDescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知

2016-07-26 12:01:14 359

原创 HDU 1254 推箱子(双层BFS)

推箱子Time Limit:1000MS    Memory Limit:32768KB    64bit IO Format:%I64d & %I64uSubmitStatusDescription推箱子是一个很经典的游戏.今天我们来玩一个简单版本.在一个M*N的房间里有一个箱子和一个搬运工,搬运工的工作就是把箱子推到指定的位置,注意,搬运工只能推箱子而不能拉箱子

2016-07-25 20:14:59 464

原创 【水题】城堡问题(简单DFS)

Description 1 2 3 4 5 6 7 ############################# 1 # | # | # | | # #####---#####---#---#####---# 2 # # | # # # # # #---#####---#####---##

2016-07-25 16:04:27 754

原创 HDU 1180 诡异的楼梯(BFS)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1180New~ 欢迎参加2016多校联合训练的同学们~诡异的楼梯Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 1

2016-07-25 06:33:04 313

原创 OpenJ_Bailian 2755 神奇的口袋

题目链接:http://bailian.openjudge.cn/practice/2755?lang=en_USDescription有一个神奇的口袋,总的容积是40,用这个口袋可以变出一些物品,这些物品的总体积必须是40。John现在有n个想要得到的物品,每个物品的体积分别是a1,a 2……a n。John可以从这些物品中选择一些,如果选出的物体的总体积是40,那么

2016-07-25 06:30:26 1085

原创 CodeForces 197D Infinite Maze (BFS+状态压缩)

题目链接:http://codeforces.com/problemset/problem/197/DD. Infinite Mazetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard

2016-07-25 02:31:34 590 1

原创 HDU1253:胜利大逃亡(BFS)

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1253胜利大逃亡Time Limit: 4000/2000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32989    Accepted Submission(s):

2016-07-23 16:16:11 353

原创 CodeForces 387C George and Number

题目链接:http://codeforces.com/problemset/problem/387/CGeorge and Numbertime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

2016-07-22 16:12:06 367

原创 Codeforces 278C. Learning Languages

Learning LanguagesTime Limit:2000MS    Memory Limit:262144KB    64bit IO Format:%I64d & %I64uSubmitStatusDescriptionThe "BerCorp" company has got n employees. These employees can usem

2016-07-22 15:56:21 720

原创 POJ 1328 Radar Installation(预处理贪心)

题目链接:http://poj.org/problem?id=1328Radar InstallationTime Limit: 1000MSMemory Limit: 10000KTotal Submissions: 74959Accepted: 16771DescriptionAssume the coas

2016-07-21 17:50:57 342

原创 POJ 1017 Packets(简单贪心)

Packets Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%lld & %llu Submit StatusDescription A factory produces products packed in square packets of the same height h and of the sizes

2016-07-19 14:19:01 410

空空如也

空空如也

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

TA关注的人

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