private static void Main() { var numberOfCases = int.Parse(Console.ReadLine()); for (int c = 0; c < numberOfCases; c++) { var line = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); Console.WriteLine( NSTEPS.Solve(line[0], line[1])?.ToString() ?? "No Number"); } }
private static void Main() { int remainingTestCases = int.Parse(Console.ReadLine()); while (remainingTestCases-- > 0) { int[] line = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); Console.WriteLine( NSTEPS.Solve(line[0], line[1])); } }