随笔分类 - CF
摘要:前缀和+离散化+端点维护 为什么现在总是想用树状数组?!!! 服了画蛇添足 离散化数组开两倍空间竟然写成 maxn >> 1 WA了两罚 1 #include<iostream> 2 #include<algorithm> 3 #include<cstdio> 4 #define ll long l
阅读全文
摘要:1 #include<iostream> 2 #include<algorithm> 3 #include<cstring> 4 #include<vector> 5 #include<cmath> 6 using namespace std; 7 int n, q; 8 int main(){ 9
阅读全文

浙公网安备 33010602011771号