Result

ERROR

Code [DL]

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

stdin

01111001
01001010
10101001
01101001
00100100
11110000
10011001
01110110
00010111
00001010
11010010
00010101
10001000
01000010
01010110
00000000
00101001
10101100
01110000
00000110
01001110
00001111
11010101
01111110
00101101
01011011
00010101
00011000
10101011
00000001
11001111
11011101
11001110
11100110
00011100
11011010
00110111
10111110
10110101
00010101
01111000
10011110
00000011
11111101
01011100
01001111
00001011
01000101
11100111
11010110

stdout

stderr

strace