Result

AC

Duration

898ms

Code [DL]

gets.gsub! /1(?!....1.{6}1....1)/,?0;print

stdin

10010001000101101001000110110011100100000100001100

stdout

00000000000000100000000000000000000000000000000000

stderr