Result

AC

Code [DL]

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

stdin

10101111
01001110
01000100
00101101
01110001
11111001
10110110
00110111
01110010
00000011
11111101
01001110
00011100
00100110
11111101
01100111
00111001
00000000
01111011
11011101
00010100
10011001
11101110
11101100
00100111
01011011
11010101
01111000
01000010
00000101
00010101
01011101
10011100
00100100
10011110
10100100
11010010
00000001
10001000
00001010
00001111
10101011
11110101
00000110
11100111
01101100
10111110
01111111
10000000
01101001

stdout

0
1
0
1
0
0
0
1
0
1
1
1
1
0
1
0
0
1
0
0
0
1
0
0
0
1
0
1
1
0
1
0
0
1
0
0
1
1
1
1
1
1
0
1
1
0
1
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