码迷,mamicode.com
首页 >  
搜索关键字:strange sorting    ( 1127个结果
杭电 1548 A strange lift(广搜)
http://acm.hdu.edu.cn/showproblem.php?pid=1548 A strange lift Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11341    Accepted Submission...
分类:其他好文   时间:2014-07-26 02:28:36    阅读次数:236
HDU 1548 A strange lift 搜索
A strange lift Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 11341    Accepted Submission(s): 4289 Problem Description There is a str...
分类:其他好文   时间:2014-07-26 02:28:26    阅读次数:228
LeetCode "Longest Consecutive Sequence"
Comparison-based sorting takes O(nlgn), so hashset is a good idea. After keeping records of all numbers in the hashset, you start checking each number...
分类:其他好文   时间:2014-07-25 03:40:54    阅读次数:305
UVA10361 -自动作诗机
UVA10361 - Automatic Poetry(自动作诗机)A Schuttelreim seems to be a typical German invention. The funny thing about this strange type of poetry is that if ...
分类:其他好文   时间:2014-07-24 10:20:13    阅读次数:232
HDU 1548 A strange lift(Dijkstra,简单BFS)
题目大意: 电梯有两个选项向上或向下,每层楼有一个参数ki,代表电梯可以再该楼层的基础上向上或向下移动ki层,限制条件是向上不能超过楼层总数n,向下不能少于一。输入总层数n和当前所在层数以及目标层数,然后是n个数分别代表第i层的移动范围。输出最少移动次数,若不可达,输出-1.解题思路: 1.用D.....
分类:其他好文   时间:2014-07-24 10:12:53    阅读次数:265
hdu 2838 Cow Sorting(树状数组)
Cow Sorting Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2239    Accepted Submission(s): 711 Problem Description Sherlock's N (1...
分类:其他好文   时间:2014-07-23 21:03:35    阅读次数:186
HDU1548——A strange lift(最短路径:dijskstra算法)
A strange liftDescriptionThere is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 2 #include 3 #include 4....
分类:Web程序   时间:2014-07-22 22:36:54    阅读次数:329
poj 1837
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10307   Accepted: 6377 Description Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:其他好文   时间:2014-07-21 23:27:52    阅读次数:235
poj1094Sorting It All Out
题目链接: 啊哈哈,选我 题目: Sorting It All Out Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 26897   Accepted: 9281 Description An ascending sorted s...
分类:其他好文   时间:2014-07-20 23:22:58    阅读次数:301
POJ 1837 Balance DP
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10299   Accepted: 6372 Description Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:其他好文   时间:2014-07-19 23:46:59    阅读次数:381
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!