using System; public static class Globals { internal static void Main() { int n; int a; int b; int k; n = int.Parse(ConsoleInput.ReadToWhiteSpace(true)); a = int.Parse(ConsoleInput.ReadToWhiteSpace(true)); b = int.Parse(ConsoleInput.ReadToWhiteSpace(true)); k = int.Parse(ConsoleInput.ReadToWhiteSpace(true)); int[] h = new int[200005]; for (int i = 0; i < n; i++) { h = int.Parse(ConsoleInput.ReadToWhiteSpace(true)); h = ((h - 1) % (a + b)) / a; } sort(h, h + n); int s = 0; int i = 0; for (; i < n; i++) { s += h; if (s > k) { break; } } Console.Write(i); Console.Write("\n"); } } Написал такой код и выдает ошибку: main.cs(31,7): error CS0136: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `child' scope to denote something else Compilation failed: 1 error(s), 0 warnings