Exemple #1
0
        static void Main(string[] args)
        {
            Console.OutputEncoding = System.Text.Encoding.UTF8;

            if (args[0] == "1")
            {
                int chal = 0;

                string comm = Console.ReadLine();
                try
                {
                    chal = int.Parse(comm);
                }
                catch { }

                if (chal == 1)
                {
                    Set1.Challenge1();
                }
                if (chal == 2)
                {
                    Set1.Challenge2();
                }
                if (chal == 3)
                {
                    Set1.Challenge3();
                }
                if (chal == 4)
                {
                    Set1.Challenge4();
                }
                if (chal == 5)
                {
                    Set1.Challenge5();
                }
                if (chal == 6)
                {
                    Set1.Challenge6();
                }
                if (chal == 7)
                {
                    Set1.Challenge7();
                }
            }



            Console.ReadLine();
        }
Exemple #2
0
        static void Main(string[] args)
        {
            Set1.Set1Challenge1();
            Set1.Set1Challenge2();
            Set1.Set1Challenge3();
            Set1.Set1Challenge4();
            Set1.Set1Challenge5();
            Set1.Set1Challenge6();
            Set1.Set1Challenge7();
            Set1.Set1Challenge8();

            Set2.Set2Challenge9();
            Set2.Set2Challenge10();
            Set2.Set2Challenge11();
            Set2.Set2Challenge12();
            Set2.Set2Challenge13();
            Set2.Set2Challenge14();
            Set2.Set2Challenge15();
            Set2.Set2Challenge16();

            Console.ReadLine();
        }