STRING by not

char s[];main(n,a,i){for(;~scanf("%d%s%d",&n,s,&a);)for(i=0;putchar(i<n*abs(a)?s[a>0?i%n:n-i%n-1]:10)-10;i++);}

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

download

return to the top page