private static void Main(string[] args) { var watch = System.Diagnostics.Stopwatch.StartNew(); var result1 = Puzzle13.Task1(PuzzleInput.ToPuzzle13Input()); watch.Stop(); var elapsedMs = watch.Elapsed; Console.WriteLine($"Element: {result1} (elapsed: {elapsedMs})"); watch = System.Diagnostics.Stopwatch.StartNew(); var result2 = Puzzle13.Task2(PuzzleInput.ToPuzzle13Input().buses); watch.Stop(); elapsedMs = watch.Elapsed; Console.WriteLine($"Element: {result2} (elapsed: {elapsedMs})"); }