摘要: Mike is the president of country What The Fatherland. There are n bears living in this country besides Mike. All of them are standing in a line and th 阅读全文
posted @ 2019-09-02 22:16 茄子Min 阅读(267) 评论(0) 推荐(0) 编辑
摘要: recursion有一个整数序列a[n]。现在recursion有m次询问,每次她想知道Max { A[i]+A[i+1]+...+A[j] ; x1 思路: 首先用https://vjudge.net/problem/SPOJ GSS3 这题的模板可以维护正常的区间询问,单点修改的线段树维护区间最 阅读全文
posted @ 2019-09-02 16:54 茄子Min 阅读(209) 评论(0) 推荐(0) 编辑