Пример #1
0
        public override string SecondStar()
        {
            var input  = ReadLineInput();
            var result = Firewall.DelayToSafe(input);

            return(result.ToString());
        }
Пример #2
0
        public static void Problem2_Example()
        {
            string[] input =
            {
                "0: 3",
                "1: 2",
                "4: 4",
                "6: 4"
            };
            var delay = Firewall.DelayToSafe(input);

            Assert.Equal(10, delay);
        }