Reverse Repeated Printing by nu(twobit)

s[];main(p){while(gets(p=s))printf("%c%2s %d\n",*s,index(s,0)-1,rindex(s,*s)-p+1);}

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

download

return to the top page