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 | 9607c2fff47e764efba9ec0e12291d9368ae9073 (patch) | |
| tree | 5619a723e8ec362e0dd6ef7e816f11e3f09a387f /s.lua | |
| parent | 0de95dae34c2d588dc8f05fd0d2c50fd83230467 (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 |
