参考:
1.http://www.cnblogs.com/phinecos/archive/2008/09/18/1293017.html
基本思想:回溯法
重点在void Solve(int k,int curNum)函数中。