码迷,mamicode.com
首页 >  
搜索关键字:a strange lift    ( 510个结果
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
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
Servlet/JSP and CGI.
CGI has maybe the worst lift cycle possible.As designed, each request to a CGI resource creates a new process on the server andpasses information to.....
分类:Web程序   时间:2014-07-22 09:06:07    阅读次数:330
To help the workers do their job easily
Scissor Lift tables are not just required for lifting the objects but also for the proper positioning of the material while working to prevent work re...
分类:其他好文   时间:2014-07-22 00:16:33    阅读次数:269
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
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
SGU 145.Strange People
时间:0.25s空间:4m题意: 其实就是求无环第K短路。 输入: 给出n,m,k,分别代表,n个点,m条边,第k长路。 接下来m行,三个整数x,y,z,分别代表x,y之间有条费用为x的双向路。保证没有重边。输出: 第一行两个数a,b,第k小费用a,和经过的点的...
分类:其他好文   时间:2014-07-16 19:31:00    阅读次数:179
poj 1837 Balance
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10241   Accepted: 6330 Description Gigel has a strange "balance" and he wants to poise it. Actually, ...
分类:其他好文   时间:2014-07-15 22:42:22    阅读次数:272
最短路径问题
点击打开链接 类似A strange lift的写法,之前一直返回RE,感觉有点不科学,数据较小。后来看discuss,居然输入还要考虑去重。 题意:略; 解析:最短路问题,但是有两种情况,因此需要根据具体情况来考虑。我采用的是构造两张图,然后在使用Dijkstra中将dis与cost放在一个结构体中,便于理解。其它就是A strange lift的一点变形 #include #inc...
分类:其他好文   时间:2014-07-14 13:13:17    阅读次数:288
510条   上一页 1 ... 47 48 49 50 51 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!