コード例 #1
0
 public override string ExecuteFirst()
 => Dijskra.Execute(GetFileLines()).ToString();
コード例 #2
0
        public override string ExecuteSecond()
        {
            var lines = GetFileLines().Select(x => x.Select(y => y - '0').ToArray()).ToArray();

            return(Dijskra.Execute(ExpendGraph(lines), lines[0].Length * 5, lines.Length * 5).ToString());
        }