hdu
Li-金玉良言
我喂自己袋盐
展开
-
hdu-1420-Prepared for New Acmer-递归-java
集训进行了将近2个礼拜,这段时间以恢复性训练为主,我一直在密切关注大家的训练情况,目前为止,对大家的表现相当满意,首先是绝大部分队员的训练积极性很高,其次,都很遵守集训纪律,最后,老队员也起到了很好的带头作用,这里特别感谢为这次DP专题练习赛提供题目和测试数据的集训队队长xhd同学.特别高兴的是,跟随集训队训练的一批新队员表现非常好,进步也比较显著,特别是训练态度大大超出我的预期,我敢说,原创 2017-03-29 19:28:40 · 241 阅读 · 0 评论 -
hdu-1011-Starship Troopers-树状dp-java
Problem DescriptionYou, the leader of Starship Troopers, are sent to destroy a base of the bugs. The base is built underground. It is actually a huge cavern, which consists of many rooms connected原创 2017-09-14 21:28:49 · 278 阅读 · 0 评论 -
hdu-1566-Color the ball-线段树-java
N个气球排成一排,从左到右依次编号为1,2,3....N.每次给定2个整数a b(a Input每个测试实例第一行为一个整数N,(N 当N = 0,输入结束。 Output每个测试实例输出一行,包括N个整数,第I个数代表第I个气球总共被涂色的次数。 Sample Input31 12 23 331原创 2017-09-08 09:46:27 · 231 阅读 · 0 评论 -
hdu-1541-树状数组-java
Problem DescriptionAstronomers often examine star maps where stars are represented by points on a plane and each star has Cartesian coordinates. Let the level of a star be an amount of the stars t原创 2017-09-17 14:22:23 · 166 阅读 · 0 评论 -
hud-1301-Jungle Roads-最小生成树-java
Jungle RoadsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8444 Accepted Submission(s): 6224Problem DescriptionThe Head El原创 2017-11-18 01:21:40 · 263 阅读 · 0 评论 -
hdu-2955-Robberies-dp-java
Problem DescriptionThe aspiring Roy the Robber has seen a lot of American movies, and knows that the bad guys usually gets caught in the end, often because they become too greedy. He has decided to原创 2018-04-22 21:24:18 · 197 阅读 · 0 评论 -
hdu-1671-Phone List-字典树-java
Phone ListTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 23475 Accepted Submission(s): 7888Problem Description Given a list of phone numbers...原创 2018-04-19 14:18:13 · 272 阅读 · 0 评论 -
hdu-1864-最大报销额-dp-java
最大报销额Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 30003 Accepted Submission(s): 9215Problem Description现有一笔经费可以报销一定额度的发票。允许报销的原创 2018-04-23 19:31:17 · 237 阅读 · 0 评论 -
hdu-2084-数塔-dp-java
数塔Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 53741 Accepted Submission(s): 31567Problem Description在讲述DP算法的时候,一个经典的例子就是数塔问题,原创 2018-04-24 10:27:45 · 242 阅读 · 0 评论 -
hdu-1074-Doing Homework-状态压缩dp-java
Problem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in原创 2018-04-21 15:22:17 · 237 阅读 · 0 评论 -
hdu-2159-FATE-dp-java
FATETime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 17403 Accepted Submission(s): 8172Problem Description最近xhd正在玩一款叫做FATE的游戏,为了得到原创 2018-04-24 10:02:49 · 156 阅读 · 0 评论 -
hdu-1711-Number Sequence-kmp-java
Problem DescriptionGiven two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a number K which make a[K] = b原创 2018-04-21 17:37:49 · 378 阅读 · 0 评论 -
hdu-1114-Piggy-Bank-dp-java
Piggy-BankTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 31659 Accepted Submission(s): 15773Problem DescriptionBefore ACM can do原创 2018-04-25 17:45:05 · 240 阅读 · 0 评论 -
hdu-1503-Advanced Fruits-lcs-java
Advanced FruitsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 4409 Accepted Submission(s): 2305Special JudgeProblem DescriptionT原创 2018-04-25 20:36:19 · 132 阅读 · 0 评论 -
hdu-1045-Fire Net-二分图匹配-匈牙利算法-java
Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a piece of wall. A blockhouse is a small castle原创 2017-09-14 12:46:42 · 283 阅读 · 0 评论 -
hdu-4501-小明系列故事——买年货-dp-java
小明系列故事——买年货Time Limit: 5000/2000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 3345 Accepted Submission(s): 1546Problem Description 春节将至,小明要去超市购原创 2017-05-30 20:23:55 · 522 阅读 · 0 评论 -
hdu-4550-卡片游戏-贪心-java
卡片游戏Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2406 Accepted Submission(s): 729Problem Description 小明最近宅在家里无聊,于是他发明了一种有原创 2017-06-04 19:40:33 · 362 阅读 · 0 评论 -
hdu-4535-吉哥系列故事——礼尚往来-组合数学-错排-java
吉哥系列故事——礼尚往来Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1871 Accepted Submission(s): 901Problem Description 吉哥还是那个吉哥原创 2017-06-05 09:42:31 · 266 阅读 · 0 评论 -
hdu-1846-Brave Game-博弈论-java
Brave GameTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11884 Accepted Submission(s): 8011Problem Description十年前读大学的时候,中国每年原创 2017-06-05 19:04:37 · 507 阅读 · 0 评论 -
hdu-2147-kiki's game-博弈论-java
kiki's gameTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 40000/10000 K (Java/Others)Total Submission(s): 10788 Accepted Submission(s): 6540Problem DescriptionRecently kiki原创 2017-06-05 19:51:27 · 345 阅读 · 0 评论 -
hdu-1847-Good Luck in CET-4 Everybody!-博弈论-sg函数-java
Good Luck in CET-4 Everybody!Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9987 Accepted Submission(s): 6474Problem Description原创 2017-06-06 20:08:31 · 354 阅读 · 0 评论 -
hdu-1850-Being a Good Boy in Spring Festival-博弈论-位运算-java
Being a Good Boy in Spring FestivalTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7521 Accepted Submission(s): 4587Problem Descr原创 2017-06-07 12:54:51 · 259 阅读 · 0 评论 -
hdu-4508-湫湫系列故事——减肥记I-dp-java
湫湫系列故事——减肥记ITime Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 5556 Accepted Submission(s): 2757Problem Description 对于吃货来说,过年最幸原创 2017-06-03 16:44:12 · 243 阅读 · 0 评论 -
hdu-4524-郑厂长系列故事——逃离迷宫-简单奇偶校检-java
郑厂长系列故事——逃离迷宫Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 2020 Accepted Submission(s): 910Problem Description 郑厂长没变 还是原创 2017-06-04 14:56:22 · 317 阅读 · 0 评论 -
hdu-1878-欧拉回路-图论-并查集-java
欧拉回路Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 14821 Accepted Submission(s): 5673Problem Description欧拉回路是指不令笔离开纸面,可画过图中每原创 2017-06-12 13:50:20 · 307 阅读 · 0 评论 -
hdu-1532-Drainage Ditches-Dinic算法-java
Drainage DitchesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18745 Accepted Submission(s): 8908Problem DescriptionEvery ti原创 2017-08-16 16:14:48 · 282 阅读 · 0 评论 -
hdu-1269-迷宫城堡-Tarjan算法-java
迷宫城堡Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17299 Accepted Submission(s): 7583Problem Description为了训练小希的方向感,Gardon建立了原创 2017-08-17 12:08:48 · 322 阅读 · 0 评论 -
hdu-2063-过山车-二分匹配-匈牙利-java
RPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和linle或LL做partner,PrincessSnow愿意和水域浪子或伪酷儿做partner。考虑原创 2017-09-13 19:49:43 · 411 阅读 · 0 评论 -
hdu-1422-重温世界杯-最长和不小于0的子串-C++
重温世界杯Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7528 Accepted Submission(s): 2663Problem Description世界杯结束了,意大利人连本带利的收回了法国人6年原创 2018-04-26 17:33:20 · 189 阅读 · 0 评论