摘要:
#include#include#define N 100000struct st{int x,y,yanchi;}a[N*4];void build(int t,int x,int y) {a[t].x=x;a[t].y=y;a[t].yanchi=1;if(x==y) return ;int t... 阅读全文
摘要:
#include#include#define N 100000struct st{int x,y;__int64 yanchi,sum;}a[N*4];__int64 b[N];void build(int t,int x,int y) {a[t].x=x;a[t].y=y;a[t].yanchi... 阅读全文