private static void Main() { var numberOfCases = int.Parse(Console.ReadLine()); for (int c = 0; c < numberOfCases; c++) { Console.ReadLine(); // Consumes blank line Console.WriteLine( ABSYS.Solve(Console.ReadLine())); } }
private static void Main() { int remainingTestCases = int.Parse(Console.ReadLine()); while (remainingTestCases-- > 0) { Console.ReadLine(); Console.WriteLine( ABSYS.Solve(Console.ReadLine())); } }