sorted.py
: =
, = ,
return
: =
: = - 1
=
-= 1
=
return
: =
=
, = ,
return
: = * 500000
: =
=
# orted_bubble = bubble_sort(arr)
# report += "ПУЗЫРЬКОВАЯ СОРТИРОВКА\nВРЕМЯ РАБОТЫ: {}\n".format(time() - start_time)
# print(sorted_bubble)
=
# sorted_insertion = insertion_sort(arr)
# report += "ВСТАВКА СОРТИРОВКА\nВРЕМЯ РАБОТЫ: {}\n".format(time() - start_time)
# print(sorted_insertion)
=
# sortend_selection = selection_sort(arr)
# report += "ВЫБОРОМ СОРТИРОВКА\nВРЕМЯ РАБОТЫ: {}\n".format(time() - start_time)
# print(sortend_selection)
=
=