Ejemplo n.º 1
0
        public int SolutionPart2(params string[] input)
        {
            var total = 0;

            var tester = new NaughtyOrNiceTester();

            foreach (var line in input)
                if (tester.IsStringNicePart2(line))
                    total++;

            return total;
        }
Ejemplo n.º 2
0
        public int SolutionPart2(params string[] input)
        {
            var total = 0;

            var tester = new NaughtyOrNiceTester();

            foreach (var line in input)
            {
                if (tester.IsStringNicePart2(line))
                {
                    total++;
                }
            }

            return(total);
        }