高斯:http://blog.csdn.net/shiren_Bod/article/details/5766907 枚举:http://blog.csdn.net/morgan_xww/article/details/5801296