dmm: (Default)
[personal profile] dmm
This actually works:
for i = 1 to n do
  for j = 1 to n do
    if A[i] < A[j] then
      swap A[i] and A[j]

Date: 2021-10-11 05:24 pm (UTC)
vak: (Default)
From: [personal profile] vak
Переизобрели пузырьковую сортировку?

Date: 2021-10-11 06:07 pm (UTC)
juan_gandhi: (Default)
From: [personal profile] juan_gandhi

На Архиве статья запощена. Не стал смотреть доказательств. Красивое.

Profile

dmm: (Default)
Dataflow matrix machines (by Anhinga anhinga)

September 2025

S M T W T F S
 1 23456
78910111213
14151617181920
21222324252627
282930    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 28th, 2025 05:27 pm
Powered by Dreamwidth Studios