Result

WA

Code [DL]

lp{x=g.t_i 2;p 8*x+1==x*x ?1:0}

stdin

00000011
00110111
11100111
01111000
01011011
11110100
00000001
11010111
10110011
00001010
00101111
10111110
00011010
00111101
00101101
00100100
00100111
10000010
01110010
00011100
00010101
01011000
10000001
01011101
11110110
10101011
00000000
11101110
10100010
00111000
10011001
11111101
00111110
10101011
10110000
00000001
01001100
01000010
00011011
11010010
00000110
10001000
10001101
11111000
01101001
01001110
01010010
11000010
00001111
00001100

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

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

strace