摘要: struct data { int xuhao,w; }node[maxn]; bool cmp(data a,data b) { return a.dis < b.dis; }//°´dis´ÓСµ½´óÅÅÐò sort(node+1,node+1+n,cmp); 结构体排序 struct d 阅读全文
posted @ 2016-08-31 12:37 pandaB 阅读(89) 评论(0) 推荐(0) 编辑