各种内部排序算法的实现(c++实现)
摘要:        
#include <iostream>using namespace std; //调试用输出template <class Type>void Print(Type a[], unsigned int n){cout<<endl;for(int i=0; i<n; i++){ cout.width(4); cout<<a[i];}cout<<endl;}//冒泡排序(升序)//时间复杂性O(n*n)template <class Type>void BubbleSort(Type a[], unsigned int    阅读全文
		
		posted @ 2011-07-29 22:03 原来... 阅读(933) 评论(0) 推荐(0)
 
                     
                    
                 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号 
