segs by *yuko*

var s:string;i,j:comp;begin read(s);for i:=-length(s)to-1do for j:=-i to length(s)do writeln(s[-i..j])end.

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

download

return to the top page