Sort by Length for OCaml Golf Competition by murky-satyr

t={}for _ in io.lines()do t[#t+1]=8+#_.._ end\x0d
table.sort(t)for _=1,#t do print(t[_]:sub(3))end

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page