示例#1
0
        static void Main(string[] args)
        {
            _solver = new DivideLambAnswer();

            for(int i = 0; i< test_cases; i++)
            {
                Console.WriteLine("Test #{0} - Input: {1}, Answer = {2}", i + 1, tests[i], _solver.answer(tests[i]));
            }
            Console.ReadKey();
        }
示例#2
0
 private void okButton_Click(object sender, EventArgs e)
 {
     result.answer(textBox1.Text);
     Hide();
 }
示例#3
0
        static void Main(string[] args)
        {
            _solver = new DivideLambAnswer();

            for (int i = 0; i < test_cases; i++)
            {
                Console.WriteLine("Test #{0} - Input: {1}, Answer = {2}", i + 1, tests[i], _solver.answer(tests[i]));
            }
            Console.ReadKey();
        }