Result

AC

Code [DL]

loop{p (8*g.t_i(2)+1)**0.5%2==1?1:0}

stdin

10011111
10001000
00110111
01101001
01111111
11111101
00110011
00010101
01100101
01000001
00000011
01110111
01010111
11001111
00001010
00010110
00101101
01111000
01011011
11011100
00010000
01011011
10011001
10010011
00001111
00100100
11010010
11110001
01001110
00100110
00000110
00011100
11101001
01011011
00000001
10000110
01000010
11010100
11110110
10111110
00010100
11100111
00100000
00000000
00010010
10100000
00101010
01010011
10101110
10101011

stdout

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

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 /volume/CODE:1:in `loop'
	from /volume/CODE:1:in `<main>'

strace