摘要:
线段树求最大值和最小值 #include<iostream> #include<cstdio> using namespace std; #define lson l,m,rt<<1 #define rson m+1,r,rt<<1|1 typedef long long ll; const int 阅读全文
posted @ 2020-07-03 20:58
莫得感情的约德尔人
阅读(178)
评论(0)
推荐(0)
摘要:
JOIOI上帝造题的七分钟 二维树状树组区间修改、区间查询 #include<iostream> #include<cstdio> #include<cstdlib> using namespace std; int n,m; int a[2050][2050],t1[2050][2050],t2[ 阅读全文
posted @ 2020-07-03 17:33
莫得感情的约德尔人
阅读(75)
评论(0)
推荐(0)
摘要:
一、优化I/O int inline read() { int ans=0,f=1; char ch=getchar(); if(ch==EOF) exit(0); while(!isdigit(ch)) { if(ch=='-') f=-1; ch=getchar(); } while(isdig 阅读全文
posted @ 2020-07-03 16:07
莫得感情的约德尔人
阅读(80)
评论(0)
推荐(0)

浙公网安备 33010602011771号