예제 #1
0
        public override string FirstStar()
        {
            var input  = ReadLineInput();
            var result = Firewall.CountSeverity(input);

            return(result.ToString());
        }
예제 #2
0
        public static void Problem1_Example()
        {
            string[] input =
            {
                "0: 3",
                "1: 2",
                "4: 4",
                "6: 4"
            };
            var severity = Firewall.CountSeverity(input);

            Assert.Equal(24, severity);
        }