Сортировка выбором: различия между версиями
[отпатрулированная версия] | [непроверенная версия] |
Содержимое удалено Содержимое добавлено
м Bot: HTTP→HTTPS (v465) |
исправление |
||
Строка 23:
[[C++11|C++]]
<source lang="cpp" line="1">
#include <cstddef>
#include <utility>
using namespace std;
template<typename T>
void selection_sort(T array[],
{
for (
{
for (
{
if (array[idx_j] < array[min_idx])
Строка 43 ⟶ 44 :
if (min_idx != idx_i)
{
}
}
Строка 51 ⟶ 52 :
[[C Sharp|C#]]
<source lang="csharp" line="1">
public static IList<int> Selection(IList<int> list)
{
Строка 74 ⟶ 75 :
[[PL/SQL]]
<source lang="plsql" line="1">
type sort_choice_list is table of integer index by binary_integer;
---------------------------------------------
|