Shifting Pattern Fixed by pooq

var i,a:comp;s:string;begin read(s);a:=length(s);for i:=1to a do writeln(copy(s+s,a-i+2,a))end.

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

download

return to the top page