count atoms fixed again by sadakiyo

char i[99],o[99],*r,*w;l;main(n){for(;0<scanf("%s",i);*--w=10,printf(o))for(r=i,w=o;*r;n=1)for(l=(96<(r[1]))+1,sscanf(&r[l],"%d",&n),w+=sprintf(w,"%.*s %d ",l,r,n);(*++r)&32;);}

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page