求1到N的全排列 (转载) http://blog.chinaunix.net/uid-1844931-id-3341657.html http://blog.csdn.net/wzy_1988/article/details/8939140