Result [link]

AC

Code [DL]

I~b1~e0(b%10*e+c~ce*2~eb/10~b)co

stdin

1110110000010000101010001111000101001100110111000110101010001000100010101100101111000001011000100011

stdout

1168937647035586126826832664099

stderr