public override void PartTwo() { var blocks = InputLine.Tabbed().Ints().ToArray(); var(_, cycle) = Algorithms.FindCyclePeriod(blocks, arr => arr.ToCsv(), Redistribute); WriteLn(cycle); }
public override void PartTwo() { var blocks = InputLine.Tabbed().Ints().ToArray(); var(_, cycle) = Algorithms.FindCyclePeriod(blocks, arr => arr.ToCsv(), Redistribute); WriteLn(cycle); }