Run ID:71512

提交时间:2024-04-25 10:06:06

s = input() res = 1 s = s[::-1] p = 2 while s.pop(): if s =='1': res *= p p = p*2