n,s,p;main(c){for(;~c;n*=n<p?10:!printf(c<48?p=s=0,"=%d\n":"%d ",n,s+=p=n))c=getchar(),n+=c<48?s:c-48;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page