Beispiel #1
0
        internal void Solve()
        {
            var text = input;

            for (int i = 0; i < 50; i++)
            {
                text = Part01.LookAndSay(text);
            }

            Console.WriteLine($"Length of result: {text.Length}");
        }
Beispiel #2
0
        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();
        }