char s[999];main(n){for(;gets(s);n=strlen(s),printf("%c %c %d\n",*s,s[n-1],n/(s[n-1]-*s+1)));}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page