码迷,mamicode.com
首页 >  
搜索关键字:gas station    ( 995个结果
PAT1033.To Fill or Not to Fill
With highways available, driving a car from Hangzhou to any other city is easy. But since the tank capacity of a car is limited, we have to find gas s...
分类:其他好文   时间:2015-02-15 16:27:05    阅读次数:168
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
Polymer station post insulator
Polymerstationpostinsulatorisonemainkindofpolymerinsulatorsusedinsubstationandstationwiththeswitchintransmissiontheelectricityprocess.ThefeaturesofPolymerstationpostinsulator1.Conventionaldesignsolidcoreinsulator2.Siliconeshedhousingisinjectionmoldedontoand..
分类:其他好文   时间:2015-02-05 07:14:32    阅读次数:142
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 statio...
分类:其他好文   时间:2015-02-04 14:44:57    阅读次数:166
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-04 14:41:47    阅读次数:134
995条   上一页 1 ... 81 82 83 84 85 ... 100 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!