コード例 #1
0
 public int SolvePart2(IEnumerable <string> input) => Records.Collate(input, " ").Select(CountCommonCharsInEachSequence).Sum();
コード例 #2
0
 public int SolvePart1(IEnumerable <string> input) => Records.Collate(input, " ").Select(CountUniqueCharsExcludingSpaces).Sum();