Increasing Split by hallvabo

while 1:
 p=s=v=0
 for c in raw_input():
\x09v=int(`v`+c)
\x09if v>=p:print v,;s+=v;p=v;v=0
 print"=%u"%s

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

download

return to the top page