摘要:        
[洛谷题面传送门](https://www.luogu.com.cn/problem/AT3593) & [Atcoder 题面传送门](https://atcoder.jp/contests/code-festival-2017-qualc/tasks/code_festival_2017_qua    阅读全文
posted @ 2021-10-20 23:41
tzc_wk
阅读(66)
评论(0)
推荐(0)
        
            
        
        
摘要:        
一道挺经典的单调队列优化 dp    阅读全文
posted @ 2021-10-20 20:36
tzc_wk
阅读(46)
评论(0)
推荐(0)
        
            
        
        
摘要:        
[题面传送门](https://www.luogu.com.cn/problem/P7078) 题意: > - 有 $n$ 条蛇,每条蛇有个实力 $a_i$ > - 我们称编号为 $x$ 的蛇比编号为 $y$ 的蛇强,当且仅当 $a_x>a_y$ 或 $a_x=a_y$ 且 $x>y$。 > - 每    阅读全文
posted @ 2021-10-20 13:35
tzc_wk
阅读(189)
评论(0)
推荐(0)
        
            
        
        
摘要:        
[Codeforces 题面传送门](https://codeforces.ml/contest/356/problem/E) & [洛谷题面传送门](https://www.luogu.com.cn/problem/CF356E) 首先显然一个 gray 串的长度只可能是 $2^k-1$,其中 $    阅读全文
posted @ 2021-10-20 12:39
tzc_wk
阅读(55)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在 nlogn 做法基础上继续找性质+指针维护    阅读全文
posted @ 2021-10-20 09:44
tzc_wk
阅读(73)
评论(0)
推荐(1)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号