コード例 #1
0
ファイル: Day10.cs プロジェクト: mattsharpe/AdventOfCode
 public bool HasResolved()
 {
     //check that every point of light is adjacent to at least one other
     return(Lights.All(x => Lights.Any(y => y.IsAdjacent(x))));
 }