码迷,mamicode.com
首页 >  
搜索关键字:station    ( 711个结果
POJ 1096 Space Station Shielding _BFS
1 #include 2 #include 3 #include 4 #include 5 #define sc(x) scanf("%d",&x) 6 #define CL(x, y) memset(x,y,sizeof(x)) 7 using namespace std; 8 cons...
分类:其他好文   时间:2015-03-12 12:59:48    阅读次数:278
PAT1072. Gas Station
A gas station has to be built at such a location that the minimum distance between the station and any of the residential housing is as far away as po...
分类:其他好文   时间:2015-03-01 08:52:30    阅读次数:186
LeetCode134——Gas Station
There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to it...
分类:其他好文   时间:2015-02-27 17:07:10    阅读次数:147
G - Train Problem I(模拟题)
Description As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is the fas...
分类:其他好文   时间:2015-02-18 15:20:31    阅读次数:183
1072. Gas Station (30)
先要求出各个加油站 最短的 与任意一房屋之间的 距离D,再在这些加油站中选出最长的D的加油站 ,该加油站 为 最优选项 (坑爹啊!)。如果相同D相同 则 选离各个房屋平均距离小的,如果还是 相同,则 选 编号小的。 时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序S.....
分类:其他好文   时间:2015-02-14 18:45:09    阅读次数:131
【HDOJ】2645 find the nearest station
裸BFS。 1 /* 2645 */ 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 #define MAXN 20010 11 typedef struct node_t...
分类:其他好文   时间:2015-02-14 16:05:27    阅读次数:150
uva 514 - Rails
Rails  There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. ...
分类:其他好文   时间:2015-02-09 09:30:01    阅读次数:201
LeetCode-Gas Station(加油站问题)
There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to ...
分类:其他好文   时间:2015-02-06 15:06:34    阅读次数:180
Leetcode:Gas Station
There are N gas stations along a circular route, where the amount of gas at station i is gas[i]. You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from station i to ...
分类:其他好文   时间:2015-02-05 16:27:38    阅读次数:142
uva 514 Rails
?? Description There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time....
分类:其他好文   时间:2015-02-05 09:39:17    阅读次数:136
711条   上一页 1 ... 56 57 58 59 60 ... 72 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!