好文章搜集

Bounce[2017 ACM 北京站网络赛]

题目7 : Bounce时间限制:1000ms 单点时限:1000ms 内存限制:256MB描述 For Argo, it is very interesting watching a circle bouncing in a rectangle.As shown in the figure below, th...

基于ST表的RMQ算法

基于ST表的RMQ算法可以在O(1)的时间复杂度内计算出一个区间内的最值。基本思想是将一段长度中的最值保存下来。查询的时候直接返回。避免了常规算法中的一次一次比较的操作。详细请参考书籍:《算法竞赛入...

hdoj 5326 Work (简单并查集)

 It’s an interesting experience to move from ICPC to work, end my college life and start a brand new journey in company. As is known to all, every stuff in a company has a title, everyo...