Result

WA

Code [DL]

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

stdin

11100111
10100100
01100001
00001100
10100011
01111000
00010101
10100110
01111011
10110010
00001111
10000110
11111101
00100101
10000010
00100100
00011100
01000010
01001110
11001001
10011001
01000011
00000000
10100111
00000011
11001100
11011000
01101010
01000000
01001001
00001010
00000110
01101011
00011100
10101011
10010111
10001000
00101101
00110111
01101100
11011011
01101001
01011011
11010010
01100100
00000001
11000010
00101101
00000111
10111110

stdout

Error in /volume/CODE:1: instantiating 'loop()'

loop{p (8*gets.to_i(2)+1)**0.5%2==1?1:0}
^~~~

in /volume/CODE:1: instantiating 'loop()'

loop{p (8*gets.to_i(2)+1)**0.5%2==1?1:0}
^~~~

in /volume/CODE:1: undefined method 'to_i' for Nil (compile-time type is (String | Nil)) (did you mean 'to_s'?)

loop{p (8*gets.to_i(2)+1)**0.5%2==1?1:0}
               ^~~~

Rerun with --error-trace to show a complete error trace.

stderr

strace