Result

WA

Code [DL]

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

stdin

00001111
01001110
00100100
00011000
00100100
01101001
00110111
01100110
10010000
11000100
11101101
00001110
10111011
01111000
11001011
10001000
11010100
00001010
00000001
11010010
10000011
00000110
10011001
00101101
10101011
01110000
00011100
00111000
10111110
10010111
00000000
01011011
00011100
00010101
00111110
11111101
11100111
10010101
00010110
10100111
11101011
01000010
11101100
01001111
11000000
00100101
11110001
01100000
00000011
10100000

stdout

121
625
289
193
289
841
441
817
1153
1569
1897
113
1497
961
1625
1089
1697
81
9
1681
1049
49
1225
361
1369
897
225
449
1521
1209
1
729
225
169
497
2025
1849
1193
177
1337
1881
529
1889
633
1537
297
1929
769
25
1281

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