摘要: View Code 1 #include<stdio.h> 2 #include<stdlib.h> 3 struct data{ 4 int st,fi,v; 5 }a[25010]; 6 int i,j,res,ans,file,t,w1,w,father1,father2,father[510],n,m,k,flag; 7 void qsort1(int l,int r) 8 { 9 int i=l,j=r,t=a[(l+r)/2].v;10 struct data change;11 do{12 while (a[i].v<t) i++... 阅读全文
posted @ 2012-03-20 18:41 ustc-acm 阅读(204) 评论(0) 推荐(0) 编辑