public void Part2() { var busSchedule = new BusSchedule(_input[1]); var answer = busSchedule.GetAnswerForContestWithSpeed(); TestContext.WriteLine($"Answer = {answer}"); }
public long Part2WithSpeedTestData(string input) { var busSchedule = new BusSchedule(input); return(busSchedule.GetAnswerForContestWithSpeed()); }