Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
这题可以后缀数组+单调栈写阿因为答案肯定在sa上是连续的,所以很自然可以用单调栈写啊。。 不过我写了好久bug https://blog.csdn.net/qq_39599067/article/details/95810586 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator