摘要: 方法一:离散化+树状数组 模板如下: #include<iostream> #include<cstdio> #include <algorithm> using namespace std; const int MAXN=40001; int n, a[MAXN], tree[MAXN], tot 阅读全文
posted @ 2017-06-02 09:48 3918张佳 阅读(208) 评论(0) 推荐(0) 编辑