Example #1
0
        private static void Main(string[] args)
        {
            var input = File.ReadAllText("./Files/Day7.input").Split("\r\n");

            Console.WriteLine(DaySeven.Day7_P1(input));

            Console.ReadLine();
        }
Example #2
0
        static void DaySevenPartTwo()
        {
            Console.WriteLine("Day 7 Part 2 Output");
            DaySeven daySeven = new DaySeven();
            int      valid    = daySeven.PartTwo();

            Console.WriteLine("Valid IPs: " + valid);
            Console.ReadLine();
        }
Example #3
0
        private static int DaySevenTwo()
        {
            var inp = InputProvider.DaySeven();

            return(DaySeven.ProblemTwo(inp));
        }