count up digits by _nderscore

for(b=[(i=j,c=0)for(j in a=readline())];~i;c=b[i]<a[i]?!++b[i]:i--)c||print(b.join(''))

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

download

return to the top page