Result

WA

Code [DL]

loop{p (8*gets.to_i(2)+1)**0.5%2-1?0:1}

stdin

00100100
00101101
00111011
00101011
01100101
10001111
11100111
11101001
00001010
10111110
00000110
00000110
01101111
01001110
00000000
11111101
01111000
00000011
00010101
00000101
01101001
10000110
00011000
01011011
10110110
11000100
01000010
00011100
11100011
00000100
11001111
00110001
11010010
11010110
11110000
00001111
10011001
10001110
00110111
01101110
11010001
10001000
11111111
00000001
10101011
10101000
00010100
01100010
00000000
01010101

stdout

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

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