diff options
| author | ame <[email protected]> | 2023-12-08 12:33:33 -0600 |
|---|---|---|
| committer | ame <[email protected]> | 2023-12-08 12:33:33 -0600 |
| commit | c691cc98e31e52982a79ffc10b8e91e8c700592b (patch) | |
| tree | 5619a723e8ec362e0dd6ef7e816f11e3f09a387f /s.lua | |
| parent | 80aaf2f01c4dda3af60a20a6fa9a89210eb75988 (diff) | |
lcm
Diffstat (limited to 's.lua')
| -rw-r--r-- | s.lua | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -1,16 +1,3 @@ require "llib" -local a = llib.array -local tab = {} -math.randomseed(os.time()) -for i=1,9999999 do - table.insert(tab,i);--math.random(1,10));-- + math.random(1,999)); -end - -local l1 = a.shellsort(tab) -print(a.sindex(l1,999)); ---print(a.index(l1,1)) -for l,i in pairs(l1) do - --print(i) -end |
