摘要:比如A={1,2,3},那么A的幂集为P(A)={{1,2,3},{1,2},{1,3},{1},{2,3},{2},{3},{空}} class Program { static void Main(string[] args) { ArrayList A = new ArrayList(); A.Add("1"); A.Add("2"); A.Add("3"); A.Add("4"); ArrayList B = new A...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Diagnostics;namespace OrderDemo{ class Program { static void Main(string[] args) { int[] arr = new int[] { 6, 2, 8, 9, 5, 7 ,6,11,23}; Stopwatch myWc = new Stopwat...
阅读全文