摘要:
这绿题贼水...... 原理我不讲了,随便拿张草稿纸推一下就明白了。 1 #include <cstdio> 2 using namespace std; 3 const long long int N=100000020; 4 int su[N],ans,top; 5 bool vis[N]; 6 阅读全文
posted @ 2018-03-10 14:00
huyufeifei
阅读(231)
评论(0)
推荐(0)
摘要:
好,这是一个线段树模板。 1 #include <cstdio> 2 using namespace std; 3 const long long int N=1000010; 4 long long int sum[N],tag1[N],tag2[N],mo; 5 6 void build(int 阅读全文
posted @ 2018-03-10 13:43
huyufeifei
阅读(129)
评论(0)
推荐(0)

浙公网安备 33010602011771号








