IOM 2016, Блиц — Задача 12

Olympiad of Metropolises, Moscow. Blitz Contest, September, 5 · 5 септември 2016 г.

Условие

To order the elements of the array: {32,74,25,53,28,43,86,47}\{32,74,25,53,28,43,86,47\} from small to large, every time you can exchange any two elements. At least you need to exchange elements __ times.

Решение

Внимание: Непълно решение

В архива няма официално решение на тази задача.


Оригинал в Архива: blitz.pdf