예제 #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();
        }