HashMap 是线程不安全的,主要对于写操作来说,两个以上线程同时写入Map会被互相覆盖。线程安全指的保证对同一个map的写入操作按照顺序进行,一次只能一个线程更改。比如向HashMap里put(key, value1)有可能key对应的是其他线程同时写入的value2 HashMap的遍历有两种 ...
分类:
编程语言 时间:
2017-02-23 18:54:03
阅读次数:
273
转自:https://github.com/ritchieng/the-incredible-pytorch The Incredible PyTorch What is this? This is inspired by the famous Awesome TensorFlow reposito ...
分类:
其他好文 时间:
2017-02-17 23:31:24
阅读次数:
908
EDIBLE OIL REFINING PLANT Extra virgin olive oil and organic extra virgin olive oil and the EU Protection of Origin (PDO) extra virgin olive oil, the ...
分类:
其他好文 时间:
2017-02-16 14:14:18
阅读次数:
128
Deep Reinforcement Learning for Visual Object Tracking in Videos 论文笔记 arXiv 摘要:本文提出了一种 DRL 算法进行单目标跟踪,算是单目标跟踪中比较早的应用强化学习算法的一个工作。 在基于深度学习的方法中,想学习一个较好的 r ...
分类:
其他好文 时间:
2017-02-12 17:33:17
阅读次数:
311
Freedom of Choice URAL - 1517 Background Before Albanian people could bear with the freedom of speech (this story is fully described in the problem "F ...
分类:
其他好文 时间:
2017-02-09 23:03:20
阅读次数:
210
题目: Mars was the first planet colonized by humans. After a long terraforming process its appearance has changed completely. From the red desert it has ...
分类:
其他好文 时间:
2017-02-09 21:54:08
阅读次数:
243
题目: Nowadays spaceships are never launched from the Earth's surface. There is a huge spaceport placed in the geostationary orbit and connected to the ...
分类:
其他好文 时间:
2017-02-09 20:22:22
阅读次数:
206
题意:给出n对点a,b 要求从没对点中选出一个,且最终选出的点n个数不能存在相同的。输入数据满足每种数最多出现3次,最少出现1次 思路:第i对点的编号2*i, 2*i+1, 因为每个数最多出现3次,那么完全可以枚举每个数,然后相同的数之间的编号建立关系(¬a Λ ¬b 为真,表示这两个编号不能同时选 ...
分类:
其他好文 时间:
2017-02-07 17:58:56
阅读次数:
272
Problem Description There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical st ...
分类:
其他好文 时间:
2017-02-03 10:34:51
阅读次数:
250
就让0出现得尽可能多嘛……大概感受一下就是这样…… 0 0 ... 0 0 0 0 4 -4 3 -3 2 -2 1 -1 ...
分类:
其他好文 时间:
2017-02-02 20:06:05
阅读次数:
284