character*999c;1 read*,k,c,n;print'(9999a)',(c(:k),i=1,n),((c(j:j),j=k,1,-1),i=1,-n);goto1;end
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page