Result

AC

Duration

763ms

Code [DL]

##@DEBUG
s//d/
w/d/
  s/d/k/
  s/1(?=0)|2(?=[01])|3(?=[0-2])|4(?=[0-3])|5(?=[0-4])|6(?=[0-5])|7(?=[0-6])|8(?=[0-7])|9(?=.)/d/
/
s/^k//
g/\d/1/
g/k/0/
m/.$/S//%%`///


# g/./%&,/
# q/

stdin

64125924395376568317174084012345678978075058035805987654321075268982059341656353593159425086874680803

stdout

0011101010010011001010010011111111101010011011101100000000010011100011010101010110011001010100110101

stderr

strace