【算法】平衡树(treap) 【题解】 treap:http://dongxicheng.org/structure/treap/(似乎文中理解的旋转方向不太一样,我一般认为左旋即把右节点旋上去) 因为第一次理解旋转,详细写一下树的旋转过程,下面以右旋为例。 void rturn(int &t) { ...
分类:
其他好文 时间:
2017-02-07 22:32:45
阅读次数:
227
一、题目 Description During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Genera ...
分类:
其他好文 时间:
2016-12-28 21:25:00
阅读次数:
364
Tunnel Warfare Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7703 Accepted Submission(s): 2981 ...
分类:
其他好文 时间:
2016-12-27 07:31:27
阅读次数:
213
注:第一个例子的C1和C2有错误,应该都是4 ...
分类:
其他好文 时间:
2016-12-12 09:41:52
阅读次数:
196
参考文档: http://cbonte.github.io/haproxy-dconv/1.5/configuration.html 一、Haproxy 软件负载均衡一般通过两种方式来实现:基于操作系统的软负载实现和基于第三方应用的软负载实现 。LVS 就是基于 Linux 操作系统实现的一种软负载 ...
分类:
其他好文 时间:
2016-11-28 00:49:39
阅读次数:
207
BadTunnel实战之远程劫持任意内网主机流量 http://www.freebuf.com/articles/web/109345.html http://blog.csdn.net/ts__cf/article/details/51725417 打开查看放大图片的时候,使之前的页面跳转到攻击者 ...
分类:
Web程序 时间:
2016-11-19 21:04:51
阅读次数:
236
问题描述: 在设备中有3个NI, ip分别为192.168.1.5/6/7。其中本端192.168.1.6同对端192.168.1.10建立了一个tunnel。 我希望测试tunnel连通性, 对端起一个socket server。本段作为client。 但是如果本端client直接连接,使用的源i ...
分类:
编程语言 时间:
2016-11-15 11:08:50
阅读次数:
325
Description During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Generally s ...
分类:
其他好文 时间:
2016-11-11 23:36:39
阅读次数:
273