Изменения
→Реализация
Вариант 1.
SelectionSort(a)
for i = 0 to n - 21
min = i;
for j = i + 1 to n - 1
if a[j] < a[min]
min = j;
Вариант 2.
SelectionSort(a)
for i = 0 to n - 21 for j = i + 1 to n - 1
if a[i] > a[j]
swap(a[i], a[j]);