Exemplo n.º 1
0
        public static void Main()
        {
            try
            {
                Console.WriteLine(Task1.Solve(ReadFile("input.txt")));
                Console.WriteLine(Task2.Solve(ReadFile("input.txt")));
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }

            Console.WriteLine("...");
            Console.ReadLine();
        }
Exemplo n.º 2
0
        public static void Solve(IEnumerable <string> input, int stepsCount, int expected)
        {
            var actual = Task1.Solve(input, stepsCount);

            Assert.AreEqual(expected, actual);
        }