Result

WA

Code [DL]

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

stdin

01111010
11001010
01110000
00100100
01000100
00001111
11100111
01010000
01000010
00110111
01100011
01110101
00110001
01011011
11010010
00010101
11111101
10111110
11001100
00001010
01111000
00011110
01010100
11110110
11011100
00011100
00000001
00001010
10011100
01010101
00101101
01100000
10011001
10001000
00000000
00011101
00010101
01011000
01010111
10010001
00111101
10101011
01101001
01101000
00000110
01011110
11111100
00000011
01001110
11111011

stdout

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

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

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

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

in /volume/CODE:1: wrong number of arguments for 'Int32#to_i' (given 1, expected 0)
Overloads are:
 - Int32#to_i()

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

stderr

strace