
搜索
疯狂的橡树
code can change world
展开
-
hdu 1728 逃离迷宫
逃离迷宫Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10002 Accepted Submission(s): 2338Problem Description 给定一个m × n (m行, n列)的迷宫,迷宫中有两个原创 2013-05-21 23:34:57 · 870 阅读 · 0 评论 -
hdu 1241 Oil Deposits
Oil DepositsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7359 Accepted Submission(s): 4301Problem DescriptionThe GeoSurvComp geologi原创 2013-06-08 16:56:14 · 1016 阅读 · 0 评论 -
hdu 1026 Ignatius and the Princess I
Ignatius and the Princess ITime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9433 Accepted Submission(s): 2784Special JudgeProblem De原创 2013-07-14 23:07:34 · 882 阅读 · 0 评论 -
hdu 4597 Play Game
Play GameTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 135 Accepted Submission(s): 87Problem DescriptionAlice and Bob are playi原创 2013-08-26 14:03:10 · 1037 阅读 · 0 评论 -
poj 2676 Sudoku (裸dfs&标记)
SudokuTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 12594 Accepted: 6275 Special JudgeDescriptionSudoku is a very simple task. A square table with原创 2014-01-08 23:41:13 · 1072 阅读 · 0 评论 -
poj 2046 Gap(dfs&hash&壮压)
GapTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 1595 Accepted: 724DescriptionLet's play a card game called Gap. You have 28 cards labeled with two-原创 2014-01-09 00:05:16 · 1734 阅读 · 0 评论 -
poj 3501 Escape from Enemy Territory(预处理&二分&bfs)
Escape from Enemy TerritoryTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 2301 Accepted: 637DescriptionA small group of commandos has infiltrated deep原创 2014-01-09 23:05:34 · 1296 阅读 · 0 评论 -
poj 1101 The Game(bfs)
The GameTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 8640 Accepted: 2632DescriptionOne morning, you wake up and think: "I am such a good programmer.原创 2014-01-09 23:14:41 · 1599 阅读 · 0 评论 -
poj 3134 Power Calculus(迭代加深dfs)
Power CalculusTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 1615 Accepted: 856DescriptionStarting with x and repeatedly multiplying by x, we can com原创 2014-01-09 23:36:32 · 1476 阅读 · 0 评论 -
八数码问题可解性及扩展
对于给定八数码棋局的初始状态,我们的目标是通过交换空格与其相邻棋子使棋盘达到目标状态。其中,游戏规则是只能交换空格与其上下左右四个方向的相邻棋子。假设棋局目标状态为如下形式:(A、B、C、D、E、F、G、H表示棋子) A B C D E F G H 而初始状态就是A、B、C、D、E、F、G、H这八个棋子在这九个棋格上的任意分布。并且我转载 2014-01-21 17:53:31 · 3588 阅读 · 0 评论 -
hdu 1043 poj 1077 Eight Time (搜索&八数码)
EightTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10351 Accepted Submission(s): 2755Special JudgeProblem DescriptionThe 15-pu原创 2014-01-21 18:32:29 · 1144 阅读 · 0 评论 -
poj 3009 Curling 2.0
Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8204 Accepted: 3410DescriptionOn Planet MM-21, after their Olympic games this year, curling i原创 2013-06-03 16:36:29 · 1425 阅读 · 1 评论 -
poj 1321 棋盘问题
棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 17793 Accepted: 8810Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解原创 2013-06-03 16:43:47 · 889 阅读 · 0 评论 -
hdu 1312 Red and Black
Red and BlackTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5672 Accepted Submission(s): 3689Problem DescriptionThere is a rectangular原创 2013-06-08 17:00:13 · 979 阅读 · 0 评论 -
hdu 2553 N皇后问题
N皇后问题Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5300 Accepted Submission(s): 2409Problem Description在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意原创 2013-06-08 18:02:07 · 1258 阅读 · 0 评论 -
hdu 1217 Arbitrage
ArbitrageTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3061 Accepted Submission(s): 1388Problem DescriptionArbitrage is the use of di原创 2013-06-03 14:38:19 · 758 阅读 · 0 评论 -
poj 1564 Sum It Up
Sum It UpTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 5301 Accepted: 2672DescriptionGiven a specified total t and a list of n integers, find all dist原创 2013-06-03 16:08:33 · 813 阅读 · 0 评论 -
hdu 1181 变形课
变形课Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 9230 Accepted Submission(s): 3444Problem Description呃......变形课上Harry碰到了一点小麻烦,因为他并不像原创 2013-06-03 16:17:28 · 978 阅读 · 0 评论 -
poj 2488 A Knight's Journey
A Knight's JourneyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 24580 Accepted: 8309DescriptionBackground The knight is getting bored of seeing the原创 2013-06-03 16:26:01 · 1151 阅读 · 0 评论 -
poj 1190 生日蛋糕
生日蛋糕Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11885 Accepted: 4200Description7月17日是Mr.W的生日,ACM-THU为此要制作一个体积为Nπ的M层生日蛋糕,每层都是一个圆柱体。 设从下往上数第i(1 Ri+原创 2013-06-03 16:48:43 · 1239 阅读 · 0 评论 -
hdu 1010 Tempter of the Bone
Tempter of the BoneTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 50008 Accepted Submission(s): 13420Problem DescriptionThe doggie fou原创 2013-06-03 17:00:59 · 826 阅读 · 0 评论 -
hdu 1016 Prime Ring Problem
Prime Ring ProblemTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 18778 Accepted Submission(s): 8402Problem DescriptionA ring is compos原创 2013-06-03 17:27:07 · 891 阅读 · 0 评论 -
hdu 1515 Anagrams by Stack
Anagrams by StackTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 843 Accepted Submission(s): 407Problem DescriptionHow can anagrams res原创 2013-06-03 15:59:29 · 1430 阅读 · 0 评论 -
poj 3074 Sudoku(Dancing Links)
SudokuTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8152 Accepted: 2862DescriptionIn the game of Sudoku, you are given a large 9 × 9 grid divided in原创 2014-06-29 14:30:25 · 1470 阅读 · 0 评论