Result

AC

Code [DL]

loop{p 2[1-(gets.to_i(2)*8+1)**0.5%1]}

stdin

11100111
11111101
00101000
00110111
10111110
00001010
00001010
01000001
00001111
01000010
10110101
10100110
00010001
01111000
00101101
00000000
00010101
00101001
00100000
00000110
11101101
01000100
00000110
11010010
00011100
01011011
10110100
10010111
01010011
11011010
01010111
01001110
01101001
00010110
00100100
11010110
01010010
10101011
00010100
10101101
01111111
00000011
11010000
10110001
00100111
10011001
10100011
00000001
11100110
10001000

stdout

1
1
0
1
1
1
1
0
1
1
0
0
0
1
1
1
1
0
0
1
0
0
1
1
1
1
0
0
0
0
0
1
1
0
1
0
0
1
0
0
0
1
0
0
0
1
0
1
0
1

stderr

/volume/CODE:1:in `to_i': wrong number of arguments (given 1, expected 0) (ArgumentError)
	from /volume/CODE:1:in `block in <main>'
	from /volume/CODE:1:in `loop'
	from /volume/CODE:1:in `<main>'

strace