Exemple #1
0
        public override string SecondStar()
        {
            var input  = ReadLineInput();
            var result = ElectromagneticMoat.StrongestLongestBridge(input);

            return(result.ToString());
        }
Exemple #2
0
        public static void FirstStarExample()
        {
            string[] input =
            {
                "0/2",
                "2/2",
                "2/3",
                "3/4",
                "3/5",
                "0/1",
                "10/1",
                "9/10"
            };

            var result = ElectromagneticMoat.StrongestBridge(input);

            Assert.Equal(31, result);
        }