Result

AC

Code [DL]

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

stdin

01101001
00110111
01111000
01000010
01011100
00001111
11010010
00001010
00010001
00000000
11001111
01001110
00100110
10101000
10001000
00000011
10011001
00000110
01111101
00100100
00010101
11001010
01011011
10000110
10111110
11100011
00101101
10000000
00000001
11001100
10101011
01001000
01000010
11100111
10010110
00101001
10001000
00010010
01110101
10111011
10011111
01000000
00011100
00000111
11010001
10110110
11001011
11111101
01111111
00101111

stdout

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

stderr

/volume/CODE:1:in `to_i': wrong number of arguments (1 for 0) (ArgumentError)
	from /volume/CODE:1
	from /volume/CODE:1:in `loop'
	from /volume/CODE:1