摘要: #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... 阅读全文
posted @ 2013-09-03 20:06 HYDhyd 阅读(106) 评论(0) 推荐(0) 编辑
摘要: #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... 阅读全文
posted @ 2013-09-03 18:49 HYDhyd 阅读(157) 评论(0) 推荐(0) 编辑