Result

WA

Code [DL]

loop{p ((8*g.t_i(2)+1)**0.5%2).to_i}

stdin

00000011
00100100
00001111
10101011
01111011
00110111
01001110
00000000
00010000
01000010
00000110
00001001
00011100
01101001
00001010
00100010
00110110
10001000
11111011
00000001
11010010
10110100
01010101
11001100
00101101
00111000
00001010
00001110
00101101
01001011
11111000
00111110
01111001
11100111
00010101
01011011
10011001
10010110
11110011
11111101
10111110
11011000
10011100
01111000
01100011
01000011
10001110
01000101
10101111
01100101

stdout

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

strace