Increasing Split by leonid

while 1:
 s=k=x=0
 for d in raw_input():
\x09x=int(`x`+d)
\x09if k<=x:k=x;print x,;s+=x;x=0
 print'='+`s`

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

download

return to the top page