for(int i=1;i<=m;i++) { for(int j=1;j<=m;j++) { if(sum[j].t>sum[j].t) swap(sum[j],sum[j+1]); } }
排完之后输出,完全没动过,跟没写一样 求助!!!