by@akouryy1
AC
898ms
gets.gsub! /1(?!....1.{6}1....1)/,?0;print
10010001000101101001000110110011100100000100001100
00000000000000100000000000000000000000000000000000