Последовательно просматриваем числа a0 , ..., an-1 находим наименьшее i такое, что ai > ai+1 . Поменять ai и ai+1 местами, возобновить просмотр с элемента ai+1 и т.д. Тем самым наибольшее число передвиниться на последнее место. Следующие просмотры начинать опять сначала, уменьшая на единицу количество просматриваемых элементов. Массив будет упорядочен после просмотра, в котором участвовали только первый и второй элементы
Сортировка массива по возрастанию (метод пузырька)
Сообщений 1 страница 10 из 46
Поделиться2Sun:15,May,2022 12:41:34
I every time used to read piece of writing in news papers but now as I am a user of net thus from now I am using net for content, thanks to web.
Поделиться3Sun:15,May,2022 12:42:15
This info is invaluable. Where can I find out more?
Поделиться4Sun:15,May,2022 12:42:55
I loved as much as you will receive carried out right here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get got an impatience over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike.
Поделиться5Sun:15,May,2022 12:43:24
Wow, this paragraph is good, my sister is analyzing these things, thus I am going to tell her.
Поделиться6Sun:15,May,2022 12:43:55
Hi, i think that i saw you visited my site thus i got here to return the want?.I am trying to to find things to enhance my website!I assume its ok to use a few of your ideas!!
Поделиться7Sun:15,May,2022 12:44:23
I am in fact delighted to glance at this webpage posts which carries tons of helpful information, thanks for providing these statistics.
Поделиться8Sun:15,May,2022 12:44:55
Just want to say your article is as surprising. The clarity to your post is just cool and that i can assume you're a professional on this subject. Fine together with your permission allow me to take hold of your feed to keep up to date with impending post. Thank you 1,000,000 and please continue the rewarding work.
Поделиться9Sun:15,May,2022 12:45:32
Thanks for finally talking about > %blog_title% < Loved it!
Поделиться10Sun:15,May,2022 12:46:00
Hi there mates, how is all, and what you wish for to say about this article, in my view its truly awesome in support of me.