Exemplo n.º 1
0
        static void Main(string[] args)
        {
            string input = ReadInputFile("input.txt");

            int[] integers = ConvertInputToArrayOfIntegers(input);

            int[] integersForPart1 = new int[integers.Length];
            integers.CopyTo(integersForPart1, 0);
            Part1Calculation.Part1(integersForPart1);

            int[] integersForPart2 = new int[integers.Length];
            integers.CopyTo(integersForPart2, 0);
            Part2Calculation.Part2(integersForPart2);
        }
Exemplo n.º 2
0
 public static void Main(string[] args)
 {
     int[] input = ReadInputFile("input.txt");
     Part1Calculation.Part1(input);
     Part2Calculation.Part2(input);
 }