2012年7月15日
摘要: 结构体二级排序,注意保质期只有5天就行。CODE:结构体二级排序(快速)#include<stdio.h>#include<stdlib.h>#include<string.h>#include<math.h>#include<algorithm>usingnamespacestd;constintSIZE=101+10;structnode{charstr[110];intp,v;doubler;}a[SIZE];intcmp(constvoid*a,constvoid*b){node*p1=(node*)a;node*p2=(no 阅读全文
posted @ 2012-07-15 21:12 有间博客 阅读(144) 评论(0) 推荐(0) 编辑