描述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 ...
分类:
其他好文 时间:
2016-07-04 00:55:21
阅读次数:
214
Description When a radio station is broadcasting over a very large area, repeaters are used to retransmit the signal so that every receiver has a stro ...
分类:
其他好文 时间:
2016-06-12 20:25:23
阅读次数:
150
题目链接:https://leetcode.com/problems/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 an...
分类:
其他好文 时间:
2016-05-30 14:53:32
阅读次数:
130
以Floyd解法为主的练习题六道 ZOJ2027-Travelling Fee POJ2253-Frogger POJ2472-106 miles to Chicago POJ1125-Stockbroker Grapevine POJ1603-Risk POJ2607-Fire Station 这 ...
分类:
其他好文 时间:
2016-05-16 23:16:46
阅读次数:
260
在海量数据的环境下,不可避免的会碰到join需求, 例如在数据分析时需要连接从不同的数据源中获取到数据。
假设有两个数据集:气象站数据库和天气记录数据库,并考虑如何合二为一。
一个典型的查询是:输出气象站的历史信息,同时各行记录也包含气象站的元数据信息。
气象站和天气记录的示例数据分别如下所示:
Station ID Station Name
011...
分类:
编程语言 时间:
2016-05-12 12:36:18
阅读次数:
125
Mobile phones
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 17661
Accepted: 8173
Description
Suppose that the fourth generation mobile phone base station...
分类:
编程语言 时间:
2016-05-07 10:14:46
阅读次数:
209
DescriptionRunning a taxi station is not all that simple. Apart from the obvious demand for a centralised coordination of the cabs in order to pick up the customers calling to get a cab as soon as poss...
分类:
其他好文 时间:
2016-05-07 09:25:40
阅读次数:
144
在一条环形的路上有N个加油站,每个加油站里有gas[i]的汽油,从第i个加油站到第i+1个加油站需要花费cost[i]的汽油。假设汽车的油箱可以装无数的汽油,判断一辆没有油的汽车是否可以从其中的某一个加油站出发并行驶一圈后返回该加油站。如果可以的话,返回起始加油站的下标,否则返回-1。...
分类:
其他好文 时间:
2016-04-29 16:23:06
阅读次数:
113