Pileup by macik

import std.stdio,std.string;void main(){auto T=split(readln),i=0;for(;;){writeln(join(T," "));auto e=T[i+1],s=T[i]~e,b=e.length;T[i]=s[0..b];T[++i]=s[b..$];}}

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

download

return to the top page