Modern operating systems are usually multitasking,meaning that they create the illusion(错觉)of doing more than one thing at once by rapidly switching f ...
分类:
其他好文 时间:
2017-09-21 21:46:15
阅读次数:
213
Apache安装包中自带的压力测试工具 Apache Benchmark(简称ab) 简单易用,这里就采用 ab作为压力测试工具了。 1.独立安装 ab运行需要依赖apr-util包,安装命令为: 因为在后面的命令中要用到yumdownload,如果没有找到 yumdownload 命令可以使用以下 ...
分类:
其他好文 时间:
2017-09-21 21:18:40
阅读次数:
203
3126: [Usaco2013 Open]Photo Description Farmer John has decided to assemble a panoramic photo of a lineup of his N cows (1 <= N <= 200,000), which, as ...
分类:
其他好文 时间:
2017-09-21 20:59:30
阅读次数:
196
1688: [Usaco2005 Open]Disease Manangement 疾病管理 Description Alas! A set of D (1 <= D <= 15) diseases (numbered 1..D) is running through the farm. Farme ...
分类:
其他好文 时间:
2017-09-21 19:29:24
阅读次数:
195
整数或者小数:^[0-9]+\.{0,1}[0-9]{0,2}$ 只能输入数字:"^[0-9]*$"。 只能输入n位的数字:"^\d{n}$"。 只能输入至少n位的数字:"^\d{n,}$"。 只能输入m~n位的数字:。"^\d{m,n}$" 只能输入零和非零开头的数字:"^(0|[1-9][0-9 ...
分类:
其他好文 时间:
2017-09-21 19:28:12
阅读次数:
163
webservice 可以用于分布式应用程序之间的交互,和不同程序之间的交互。 首先创建一个空的 web 应用程序 然后鼠标右键点击项目,选择 add > new item 选择 web 服务,点击 add, 一个简单的 webservice 就创建完成了,接下来编写两个简单的方法 using Sy ...
HashSet 的底层实现是 HashMap public HashSet() { map = new HashMap<>(); } public boolean add(E e) { return map.put(e, PRESENT)==null; 》所以可以放入null,但只能放入一个null ...
分类:
其他好文 时间:
2017-09-21 17:53:49
阅读次数:
133
此方法每张图片会创建一个iframe,比较耗费资源,请根据实际情况确定是否使用 ...
分类:
微信 时间:
2017-09-21 16:45:53
阅读次数:
354
Focused and Diffuse Modes coursera 面对一个问题,当无论如何都想不出办法时,你会怎么做呢?对于僵尸们来说,只需简单地不断用脑袋撞墙即可。然而活生生的大脑可就复杂得多。事实证明,了解自己的大脑如何运作,利于学习,少走弯路。 What do you do when yo ...
分类:
其他好文 时间:
2017-09-21 15:46:58
阅读次数:
218
Codeforces Round #198 (Div. 2) 昨天看到奋斗群的群赛,好奇的去做了一下, 大概花了3个小时Ak,我大概可以退役了吧 那下面来稍微总结一下 A. The Wall Iahub and his friend Floyd have started painting a wal ...
分类:
其他好文 时间:
2017-09-21 13:17:41
阅读次数:
246