Reverse Repeated Printing by twobit

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

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

download

return to the top page