- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 51nod 1295 XOR key
#include"iostream" #include"string.h" #include"vector" using namespace std; const int maxn=5e4+5; int W; struct Tree { int l,r; };Tree tree[maxn*32]; int a[maxn]; int N,M; int tot; vector<int> root
2017-12-04 12:30:12 283
原创 51nod 1174 区间中最大的数
#include"iostream" using namespace std; const int maxn=1e4+5; struct Tree { int l,r,Max; }; Tree tree[maxn<<2]; int a[maxn]; void BuildTree(int id,int L,int R) { tree[id].l=L; tree[id].r=R;
2017-12-04 12:28:01 148
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人