Search
public static void posun(int[] x, int posun)
x
abs(posun) > x.length
posun = 2; [1,2,3,4,5] → [4,5,1,2,3]
Příklad vstupu a výstupu programu:
n = 4 1 2 3 4 prumer = 2.5 max = 4 min = 1 posun = 2 3 4 1 2
Celkem 5b:
Máte jenom jeden pokus!