- 博客(51)
- 收藏
- 关注
原创 DP(完全背包二进制优化) Problem T:Dividing(HDU 1059)
Problem T Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem DescriptionMarsha and Bill own acollection of marbl...
2018-03-31 23:12:37 510
原创 DP(分组背包两种二进制优化) Problem S:Coins(HDU 2844)
Problem S Time Limit : 2000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 12 Accepted Submission(s) : 0Problem DescriptionWhuacmers use coins.They haveco...
2018-03-31 22:40:29 870
原创 DP Problem R:Big Event in HDU(HDU 1171)
Problem R Time Limit : 10000/5000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 0Problem DescriptionNowadays, we all know thatComputer Coll...
2018-03-30 15:32:40 199
原创 DP Problem Q:Piggy-Bank(HDU 1114)
Problem Q Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 1Problem DescriptionBefore ACM can do anything, abudget must...
2018-03-30 14:50:57 206
原创 DP Problem P:Bone Collector(HDU 2602
Problem P Time Limit : 2000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem DescriptionMany years ago , in Teddy’shometown ther...
2018-03-29 22:46:31 212
原创 dp Problem O:统计问题(HDU 2563)
Problem O Time Limit : 3000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 0 Accepted Submission(s) : 0Problem Description在一无限大的二维平面中,我们做如下假设:<br>1、&nbs...
2018-03-29 20:53:54 271
原创 递归 Problem N:Bitset(HDU 2051)
Problem N Time Limit : 1000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 3 Accepted Submission(s) : 1Problem DescriptionGive you a number on baseten,you should ...
2018-03-29 20:13:48 356
原创 递推 Problem L:母牛的故事(HDU 2018)
Problem L Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 3 Accepted Submission(s) : 1Problem Description有一头母牛,它每年年初生一头小母牛。每头小母牛从第四个年头开始,...
2018-03-29 19:55:05 356 1
原创 递推 HDU Problem K 骨牌铺方格
骨牌铺方格TimeLimit: 2000/1000 MS (Java/Others) Memory Limit:65536/32768 K (Java/Others)Total Submission(s): 61106 Accepted Submission(s): 29555ProblemDescription...
2018-03-29 19:47:28 288
原创 DP Problem J:一只小蜜蜂(HDU 2044)
Problem JTime Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 11 Accepted Submission(s) : 3Problem Description有一只经过训练的蜜蜂只能爬向右侧相邻的蜂房,不能反向爬行。请编程计算蜜蜂从蜂房a...
2018-03-28 22:46:34 290
原创 DP Problem I:超级楼梯(HDU 2040)
Problem I Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem Description有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有...
2018-03-27 23:17:25 544
原创 DP Problem H:命运(HDU 2571)
Problem H Time Limit : 2000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 14 Accepted Submission(s) : 4Problem Description穿过幽谷意味着离大魔王lemon已经无限接近了!<br>可谁能想到...
2018-03-27 23:03:56 225
原创 二维DP Problem G:免费馅饼(HDU 1176)
Problem G Time Limit : 2000/1000ms(Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 AcceptedSubmission(s) : 1Problem Description 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大...
2018-03-27 15:25:53 277
原创 DP Problem F:数塔(HDU 2084)
Problem F Time Limit : 1000/1000ms(Java/Other) Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 2 AcceptedSubmission(s) : 1Problem Description在讲述DP算法的时候,一个经典的例子就是数塔问题,它是这样描述的:<br&g...
2018-03-27 13:26:22 350
原创 DP Problem E:Monkey and Banana(HDU 1069)
Problem E Time Limit : 2000/1000ms(Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 AcceptedSubmission(s) : 1Problem DescriptionA group of researchers are designing anex...
2018-03-27 11:42:29 284
原创 DP Problem D:Humble Numbers(HDU 1058)
ProblemD Time Limit : 2000/1000ms(Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 1 AcceptedSubmission(s) : 1ProblemDescriptionA number whose onl...
2018-03-25 21:55:43 273
原创 DP Problem C:Super Jumping! Jumping! Jumping!(HDU 1087)
Problem C Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 2Problem DescriptionNowadays, a kind of chess gamecalled “Su...
2018-03-25 16:35:57 357
原创 dp Problem B:Common Subsequence(HDU 1159)
Problem B Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem DescriptionA subsequence of a givensequence is the ...
2018-03-25 12:11:28 421
原创 HDU 1003 Max Sum 最大子序列和
Problem A Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 6 Accepted Submission(s) : 1Problem DescriptionGiven a sequencea[1],a[2],a[3].....
2018-03-25 11:40:18 398
原创 dfs Problem I
Problem I Time Limit : 20000/10000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 52 Accepted Submission(s) : 13Problem Description“连连看”相信很多人都玩过。没玩过也没关系,下面我给大家介绍一下游戏规则...
2018-03-24 14:49:53 164
原创 动态数组简介
动态数组定义:动态数组是指在声明时没有确定数组大小的数组,即忽略圆括号中的下标;当要用它时,可随时用ReDim语句重新指出数组的大小。使用动态数组的优点是可以根据用户需要,有效利用存储空间。特点数组到底应该有多大才合适,有时可能不得而知。所以希望能够在运行时具有改变数组大小的能力。动态数组就可以在任何时候改变大小。在V...
2018-03-24 14:35:26 785
原创 vector 简单应用
Vector 简单应用定义:vector是C++标准模板库中的部分内容,中文偶尔译作"容器",但并不准确。它是一个多功能的,能够操作多种数据结构和算法的模板类和函数库。vector之所以被认为是一个容器,是因为它能够像容器一样存放各种类型的对象,简单地说,vector是一个能够存放任意类型的动态数组,能...
2018-03-24 14:34:52 311
原创 DFS (输入优化)HDU Problem T
Problem T Time Limit : 3000/1000ms (Java/Other) Memory Limit :65535/32768K (Java/Other)Total Submission(s) : 23 Accepted Submission(s) : 3Problem DescriptionSailormoon girls all likeeating many ki...
2018-03-24 14:33:56 257
原创 17搜索二分题目目录
Problem A:Can you solve this equation?(HDU 2199) 点击这里Problem B:Strange fuction(HDU 2899) 点击这里Problem C:Pie(HDU 1969) 点击这里Problem D:Toxophily(HDU 2298)(三分加二分) 点击这里Problem E:Turn the corner(...
2018-03-24 14:19:10 202
原创 dfs HDU Pusher problem U
PusherTimeLimit: 2000/1000 MS (Java/Others) Memory Limit: 32768/65536 K (Java/Others)Total Submission(s): 169Accepted Submission(s): 67SpecialJudgeProblemDescriptionPusherBoy is an online gamehttp://w...
2018-03-21 23:29:14 244
原创 dfs 重判 HDU sequence two Problem X
Problem X Time Limit : 2000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 0Problem DescriptionSearch is important in the acmalgorithm....
2018-03-20 16:56:22 275
原创 dfs HDU Problem Y数独
Problem Y Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 3 Accepted Submission(s) : 2Problem Description自从2006年3月10日至11日的首届数独世界锦标赛以后,数独这项游戏越来越受到...
2018-03-20 13:56:54 274
原创 dfs HDU Problem W
Problem W Time Limit : 6000/2000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 0Sequence oneProblem DescriptionSearch is important in the a...
2018-03-18 16:59:37 270
原创 dfs HDU Problem V
Problem V Time Limit : 2000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 1 Accepted Submission(s) : 1Problem DescriptionFill the following 8 circleswith digits ...
2018-03-17 22:56:52 172
原创 DFS HDU Problem S
Problem S Time Limit : 4000/2000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 8 Accepted Submission(s) : 3Problem DescriptionA ring is compose of n circlesas shown i...
2018-03-17 11:20:44 194
原创 dfs+奇偶剪枝 HDU Problem R
Problem R Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 0Problem DescriptionThe doggie found a bone in anancient maz...
2018-03-17 09:22:55 247 1
原创 bfs+队列 数学规律 HDU Problem Q
Problem Q Time Limit : 2000/1000ms (Java/Other) Memory Limit :32768/32768K (Java/Other)Total Submission(s) : 4 Accepted Submission(s) : 1Problem Description大家一定觉的运动以后喝可乐是一件很惬意的事情,但是seeyou却不这么认为。因为...
2018-03-16 21:59:37 285
原创 bfs+队列 HDUProblem P
Problem P Time Limit : 2000/1000ms(Java/Other) Memory Limit : 65536/32768K (Java/Other)Total Submission(s) : 2 AcceptedSubmission(s) : 2Problem DescriptionThere is a rectangular room, covered with...
2018-03-16 10:55:39 207
原创 bfs+队列 HDU ProblemO
ProblemO Time Limit : 2000/1000ms (Java/Other) MemoryLimit : 65536/32768K (Java/Other)Total Submission(s) : 1 AcceptedSubmission(s) : 1Problem DescriptionA friend of you is doing research on theTr...
2018-03-16 10:25:12 236
原创 bfs+队列 HDU Problem M
Problem M Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 2Problem DescriptionThere is a strange lift.Thelift can stop...
2018-03-13 23:03:27 188
原创 bfs 模板+ 优先队列 Problem L
Problem L Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 23 Accepted Submission(s) : 6Problem DescriptionAngel was caught by theMO...
2018-03-13 13:43:25 250
原创 优先队列 bfs Angel was caught by theMOLIGPY!
Problem LTime Limit : 2000/1000ms(Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) :23 Accepted Submission(s) : 6Problem DescriptionAngel was caught bytheMOLIGPY! He ...
2018-03-13 13:42:21 721
原创 bfs HDU Problem K
Problem K Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 2 Accepted Submission(s) : 1Problem DescriptionThe GeoSurvComp geologicsurvey company i...
2018-03-11 17:18:01 384
原创 队列 dfs HDU Problem J
Problem Description在美式足球中,四分卫负责指挥整只球队的进攻战术和跑位,以及给接球员传球的任务。四分卫是一只球队进攻组最重要的球员,而且一般身体都相对比较弱小,所以通常球队会安排5-7名大汉来保护他,其中站在四分卫前方、排成一线的5名球员称为进攻锋线,他们通常都是135公斤左右的壮汉。对防守方来说,攻击对手的四分卫当然是最直接的限制对手进攻的方法。如果效果好,就可以在对方四分卫...
2018-03-11 00:57:24 245
原创 二分 HDU Problem G
Problem G Time Limit : 2000/1000ms (Java/Other) Memory Limit :65536/32768K (Java/Other)Total Submission(s) : 7 Accepted Submission(s) : 1Problem DescriptionInhabitants of the Wonderlandhave decide...
2018-03-09 13:45:00 226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人