template<class Object>
void insertSort(vecter<Object> &a){
for(int i=1; i<a.size(); ++i){
Object tmp=std::move(a[i]);
for(int j=i; j>0 && tmp<a[j-1]; --j){
a[j]=std::move(a[j-1]);
}
a[j]=std::move(tmp);
}
}
07-24
59万+
09-05
2082
09-12