- 博客(2)
- 收藏
- 关注
原创 排序
#include "stdafx.h" #include template void swap_t(T& a, T& b) { T t = a; a = b; b = t; } //-------------insert sort------------------------- template void insert_sort(T* p, int len
2015-07-09 12:17:59 364
原创 mt19937
#include "stdafx.h" #include int RandomInt( int Max, int Min = 1 ) { std::tr1::random_device rd; std::tr1::mt19937 generator(rd()); std::tr1::uniform_int return distribution(generator); }
2014-03-10 11:13:11 1085
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人