日期:2014-05-18 浏览次数:21100 次
static void Main(string[] args) { int length = ((33 * 32 * 31 * 30 * 29 * 28) / (2 * 3 * 4 * 5 * 6)) * 16; Console.WriteLine(length); byte[] byteData = new byte[12 * 100]; int id = 0; for (int r1 = 1; r1 <= 33; r1++) { for (int r2 = 1; r2 <= 33; r2++) { for (int r3 = r2; r3 <= 33; r3++) { for (int r4 = r3; r4 <= 33; r4++) { for (int r5 = r4; r5 <= 33; r5++) { for (int r6 = r5; r6 <= 33; r6++) { for (int bl = 1; bl <= 16; bl++) { id++; //if ((id % 100000) == 0) //{ // Console.WriteLine(" {0} ", ((int)id)/100000); //} } } } } } } } Console.WriteLine("OVER! id = {0} length = {1}", id, length); Console.ReadKey(); }