![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树状数组
KEIke0
这个作者很懒,什么都没留下…
展开
-
A Simple Problem with Integers POJ 3468
线段树抄的博客#include<cstdio>#include<algorithm>#include<iostream>using namespace std;const int MAXN=100000;int num[MAXN];struct Node{ int l,r;//区间的左右端点long long nSum;//区...原创 2020-03-08 15:44:28 · 112 阅读 · 0 评论 -
Ultra-QuickSort POJ 2299
#include<iostream>#include<algorithm>#include<cstring>using namespace std;const int MAXN=500100;struct node{ int no; int num; bool operator <(const node &a)const{...原创 2020-03-01 10:05:09 · 125 阅读 · 0 评论 -
敌兵布阵 HDU 1166
参考博客https://www.cnblogs.com/xenny/p/9739600.html#include <string>#include<iostream>#include<cstring>#include<cstdio>#include<cstdlib>using namespace std;int n,...原创 2020-02-27 10:58:15 · 160 阅读 · 0 评论