- 博客(3)
- 收藏
- 关注
原创 Lucky Numbers (easy)
B. Lucky Numbers (easy) time limit per test 2 seconds memory limit per test 256 megabytes Petya loves lucky numbers. Everybody knows that positive integers areluckyif their decimal represent...
2019-05-31 23:01:32 400
原创 CF 304B
B. Calendar time limit per test : 2 seconds memory limit per test : 256 megabytes input : standard input output : standard output Calendars in widespread use today include the Gregorian calend...
2019-01-07 21:28:53 141
转载 ST表
// This is not my aritcle ST表的功能很简单 它是解决RMQ问题(区间最值问题)的一种强有力的工具 它可以做到O(nlogn)O(nlogn)预处理,O(1)O(1)查询最值 ST表是利用的是倍增的思想 拿最大值来说 我们用Max[i][j]Max[i][j] 表示,从ii 位置开始的2j2j 个数中的最大值,例如Max[i][1]Max[i][1...
2018-10-29 20:06:59 117 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人