Data update

This commit is contained in:
Ingy döt Net 2026-04-30 12:34:36 -04:00
parent 4bb20c9b71
commit cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions

View file

@ -1,6 +1,6 @@
fn shell(mut arr []int, n int) {
mut j := 0
for h := n; h /= 2; {
for h := n; h > 0; h /= 2 {
for i := h; i < n; i++ {
t := arr[i]
for j = i; j >= h && t < arr[j - h]; j -= h {