BZOJ 1012 [JSOI2008]最大数maxnumber
题目描述 传送门有用单调数据结构的更好的做法,不过我先写个线段树。
cin无限RE!!代码#include<cstdio>
#include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
const int maxn=200005;
int maxv[maxn*4],ans=0,now,m,t;
void
原创
2017-10-02 10:02:07 ·
308 阅读 ·
0 评论