internal void Solve() { var text = input; for (int i = 0; i < 50; i++) { text = Part01.LookAndSay(text); } Console.WriteLine($"Length of result: {text.Length}"); }
private static void Main(string[] args) { var input = File.ReadAllText("Input.txt"); var part01 = new Part01(input); part01.Solve(); var part02 = new Part02(input); part02.Solve(); }