コード例 #1
0
ファイル: Day03.cs プロジェクト: mholland/advent-of-code
 public void ExampleTwo()
 {
     Day03.PartTwo(new[]
     {
         "..##.......",
         "#...#...#..",
         ".#....#..#.",
         "..#.#...#.#",
         ".#...##..#.",
         "..#.##.....",
         ".#.#.#....#",
         ".#........#",
         "#.##...#...",
         "#...##....#",
         ".#..#...#.#"
     })
     .Should()
     .Be(336);
 }
コード例 #2
0
ファイル: Day03.cs プロジェクト: mholland/advent-of-code
 public void PartTwo() =>
     Output
         .WriteLine($"Combined encountered: {Day03.PartTwo(Input)}");