expand text by 51b

-module(e).
-export([m/0]).
m()->N=hd(io:get_line(''))-49,S=io:get_line('')--"
",[[io:format("~c~*c~c",[C,N-1,if M rem N<1->C;0<1->32end,C])||C<-S]<io:nl()||M<-lists:seq(0,N)].

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

download

return to the top page