Example #1
0
        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();
            }
        }
Example #2
0
 internal CaseSolver(IGoogleCodeJamInteractiveCommunicator commsStream, int caseNumber)
 {
     this.commsStream = commsStream;
 }