STRING by Reputeless

c,A;main(L,s)char*s;{for(;~scanf("%d%s%d",&L,s,&A);puts(""))for(c=abs(A*L);c--;)putchar(s[A<0?c%L:L-c%L-1]);}

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

download

return to the top page