摘要: #include#include#include#includeusing namespace std;int mp[120][120],in[120];int main(){ int n,m,i,cnt,t,u,v; while(~scanf("%d%d",&n,&m)... 阅读全文
posted @ 2015-07-29 15:41 xryz 阅读(93) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;int mp[1024][1024],in[1024],out[1024];int main(){ int n,m,i,j,u,v,cnt,t; while(~scanf("%d%d"... 阅读全文
posted @ 2015-07-29 14:38 xryz 阅读(136) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;struct node{ int l,r; long long sum,c;}t[400000+5];void build(int root,int l,int r){ t[ro... 阅读全文
posted @ 2015-07-29 11:30 xryz 阅读(134) 评论(0) 推荐(0) 编辑