using System; class Program { static void Main() { int[] t = new int[] {22, 5, 4, 33, 9, 3, 7, 15, 20}; int[] h = { 5, 3, 1}; int n = t.Length; //Kiíratás rendezés előtt for(int i=0; i=0 && t[i]>x) { t[i+lepes] = t[i]; i = i - lepes; } t[i+lepes] = x; } } //Kiíratás rendezés után for(int i=0; i