摘要: 如:根据123,可以写出:123,132,213,231,312,321种排列组合顺序。using System;using System.Collections; class Program { static void Main(string[] args) { Permutate("12345", "", 0); } static void Permutate(string str, string result, int length) { if (str.Length == length) { Console.Wri... 阅读全文
posted @ 2010-03-23 18:28 清山博客 阅读(1196) 评论(0) 推荐(0)