码迷,mamicode.com
首页 >  
搜索关键字:other    ( 5856个结果
20150817---成长日记1---DelayQueue&&Delayed&&Other
今天第一次接触DelayQueue,源于项目中的话单解析入库的拆分线程中引入,首先简单了解一下DelayQueue:DelayQueue是一个无界阻塞队列,只有在延迟期满时才能从中提取元素。该队列的头部是延迟期满后保存时间最长的Delayed 元素。 问题1:如何来判断延迟期是否满了呢? --...
分类:其他好文   时间:2015-08-17 23:24:30    阅读次数:156
find the safest road
Time Limit : 10000/5000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 32   Accepted Submission(s) : 18 Problem Description XX星球有很多城市,每个城市之间有一条或多条飞行通道,但是并不是所有的路都是很安...
分类:其他好文   时间:2015-08-17 21:49:24    阅读次数:162
畅通工程续
畅通工程续Time Limit : 3000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 67Accepted Submission(s) : 37Problem Descripti...
分类:其他好文   时间:2015-08-17 21:34:17    阅读次数:130
Choose the best route
Choose the best routeTime Limit : 2000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 12Accepted Submission(s) : 6Pr...
分类:其他好文   时间:2015-08-17 21:18:33    阅读次数:136
find the safest road
find the safest roadTime Limit : 10000/5000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 23Accepted Submission(s) : 12P...
分类:其他好文   时间:2015-08-17 21:16:12    阅读次数:158
最短路
最短路Time Limit : 5000/1000ms (Java/Other)Memory Limit : 32768/32768K (Java/Other)Total Submission(s) : 82Accepted Submission(s) : 51Problem Description...
分类:其他好文   时间:2015-08-17 21:09:15    阅读次数:168
最短路
Time Limit : 5000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 45   Accepted Submission(s) : 30 Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们...
分类:其他好文   时间:2015-08-17 17:27:36    阅读次数:172
Avoid GroupByKey
source linkLet's look at two different ways to compute word counts, one usingreduceByKeyand the other usinggroupByKey:val words = Array("one", "two", ...
分类:其他好文   时间:2015-08-17 16:54:20    阅读次数:120
poj3468(A Simple Problem with Integers)线段树+树状数组
Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to each number in a given interval. The other i...
分类:编程语言   时间:2015-08-17 15:41:52    阅读次数:147
ZOJ QS Network (prime_裸题)
In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If two QS want to get connected, they need to buy two network adapter...
分类:Web程序   时间:2015-08-17 12:03:17    阅读次数:183
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!