Reverse Repeated Printing by cojna

m@main=do x<-getLine;putStr$x!!0:' ':last x:" ";print$sum[1|y<-x,[y]<=x];m

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

download

return to the top page