STRING by inaniwa

N;r;main(A,S){for(;r--?:~scanf("%d%s%d",&N,S,&A)?r=N*abs(A):0;)printf("%.1s",r?S+(A>0?N*A-r:r-1)%N:"\n");}

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

download

return to the top page