Beispiel #1
0
        public int Solve()
        {
            var descriptions = InputParsers.ParseDescriptions(_input1);
            var mappings     = SolveMappings(descriptions);
            var instructions = InputParsers.ParseInstructions(_input2);

            return(Execute(instructions, mappings));
        }
Beispiel #2
0
 public int Solve()
 {
     return(InputParsers.ParseDescriptions(_input1)
            .Where(i => HowManyPossibles(i) >= 3)
            .Count());
 }