Sort by Length for OCaml Golf Competition by xulapp

with([])for(;;s?push([s[-1]+8,s]):print(shift(sort())[1]))s=readline()

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

download

return to the top page