Sort by Length for OCaml Golf Competition by murky-satyr

for(a=[];$=readline();)a.push([$[-1]+9,$]);for(i in a.sort())print(a[i][1])

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

download

return to the top page