public CodeJamInput() { int T = int.Parse(NextLine()); problems = new CodeJamProblem[T]; for (int i = 0; i < T; ++i) { problems[i] = new CodeJamProblem().BuildProblem(this); problems[i].Number = i + 1; } }
public CodeJamInput() { lines = input.Replace("\r", "").Split('\n'); int T = int.Parse(NextLine()); problems = new CodeJamProblem[T]; for (int i = 0; i < T; ++i) { problems[i] = new CodeJamProblem().BuildProblem(this); problems[i].Number = i + 1; } }