摘要: #include<iostream>#include<cstdio>#include<algorithm>#include<cmath>usingnamespacestd;template<classT>voidInsertSort(Ta[],intn)//直接插入排序,时间复杂度为O(n^2){inti,j;Ttemp;for(i=1;... 阅读全文
posted @ 2009-05-18 18:03 凌点 阅读(189) 评论(0) 推荐(0) 编辑