Result

WA

Code [DL]

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

stdin

11011010
01101011
11111101
10100011
01011011
10101011
11100111
10000101
10001100
01101001
10011001
00000000
00001111
00110111
00011100
00000011
10001111
00000110
00010101
11000001
01110011
11101010
10001000
01111000
01001110
11010010
10111110
10100010
01101101
00001010
00010100
01110000
10000001
00101110
00100100
00001010
10100100
01110001
01000010
11101000
00000010
10101011
00000001
10010001
10000010
01011000
00110011
10000111
00101101
01010010

stdout

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

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

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

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

in /volume/CODE:1: undefined method '|' for Nil (compile-time type is (String | Nil))

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

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

stderr

strace