摘要: 记录区间and/or,修改时如果对整个区间影响都相同就打标记,否则递归。复杂度不太会证。 阅读全文
posted @ 2018-12-17 21:11 Gloid 阅读(188) 评论(0) 推荐(0) 编辑
摘要: A:n==2?2:1。 #include<iostream> #include<cstdio> #include<cmath> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define l 阅读全文
posted @ 2018-12-17 01:39 Gloid 阅读(302) 评论(2) 推荐(0) 编辑