摘要: 全排列 class Program { private static void Perm(int[] data, int k, ref int count) { int size = data.Length; if (k == size 1) { count++; Console.WriteLine 阅读全文
posted @ 2018-06-02 15:08 随心~ 阅读(350) 评论(0) 推荐(0) 编辑
摘要: class Program { private static void Fun(int x, int n, Stack stack, List outList,ref int count) { if (outList.Count == n) { count++; Console.WriteLine( 阅读全文
posted @ 2018-06-02 00:58 随心~ 阅读(4192) 评论(0) 推荐(0) 编辑