Shifting Pattern Fixed by nattow

class _{static{String s=new java.util.Scanner(System.in).next();for(int l=s.length(),m=l-1;l-->0;s=s.charAt(m)+s.substring(0,m))System.out.println(s);}}

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

download

return to the top page