public static void Run(IGoogleCodeJamInteractiveCommunicator io = null) { InOut = io ?? new GoogleCodeJam2022CommunicatorWithInteractivity(); var numberOfCases = InOut.ReadSingleLongInput(); for (int i = 0; i < numberOfCases; i++) { new CaseSolver(InOut, i).SolveInteractively(); } }
internal CaseSolver(IGoogleCodeJamInteractiveCommunicator commsStream, int caseNumber) { this.commsStream = commsStream; }