using System.Diagnostics; using Day14; if (args.Any(a => a == "--debug")) { Console.WriteLine("DEBUG"); Console.WriteLine(Debugger.Launch()); } if (args.Length < 1) { Console.WriteLine("Requires 1 args: inputFileName"); return -1; } var inputFile = args[0]; var parser = new Parser(); var boulderMap = parser.Parse(inputFile); var load = boulderMap.CalculateMaxNorthLoad(); Console.WriteLine($"North Load: {load}"); Console.WriteLine(); load = boulderMap.Cycle(10000); Console.WriteLine(); Console.WriteLine($"== North Load: {load}"); return 0;