📄 experiment2.cs
字号:
namespace Opus6
{
using System;
using System.Drawing;
using System.Windows.Forms;
[Copyright("Copyright (c) 2001 by Bruno R. Preiss, P.Eng."), Version("$Id: Experiment2.cs,v 1.4 2001/09/25 23:41:15 brpreiss Exp $")]
public class Experiment2 : TTY
{
public static void Main()
{
Form form1 = new Form();
form1.Size = new Size(490, 380);
form1.Controls.Add(new Experiment2());
Application.Run(form1);
}
public override void Run()
{
Opus6.Console.WriteLine("4");
Opus6.Console.WriteLine("sort");
Opus6.Console.WriteLine("length");
Opus6.Console.WriteLine("seed");
Opus6.Console.WriteLine("time");
string[] textArray1 = new string[] { "1", "57", "12345", "7252795", "3127" };
for (int num1 = 0; num1 < textArray1.Length; num1++)
{
string[] textArray2 = new string[] { "100", "2500", "5000", "7500", "10000", "12500", "15000", "17500", "20000" };
for (int num2 = 0; num2 < textArray2.Length; num2++)
{
Demo9.Test(new string[] { textArray2[num2], textArray1[num1], "7" });
}
textArray2 = new string[] { "30000", "40000", "50000", "60000", "70000", "80000", "90000", "100000" };
for (int num3 = 0; num3 < textArray2.Length; num3++)
{
Demo9.Test(new string[] { textArray2[num3], textArray1[num1], "3" });
}
textArray2 = new string[] { "200000", "300000", "400000", "500000", "600000", "700000", "800000", "900000", "1000000" };
for (int num4 = 0; num4 < textArray2.Length; num4++)
{
Demo9.Test(new string[] { textArray2[num4], textArray1[num1], "1" });
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -