Result

WA

Code [DL]

for(;;)print(+!(Math.sqrt(8*parseInt(readLine(),2)+1)%1))

stdin

11000100
11010011
10111010
01111010
00011110
01101010
01101001
01001110
01110110
11111100
01000010
00001010
10100011
10111110
10101110
00010101
11000110
10001000
00001111
00000111
00011100
01011011
00101101
00010001
11100000
11100111
00000000
00011011
01011000
01111000
00000001
00000001
10101011
01101101
10000110
01001110
10110111
00011111
00100100
01010001
00100111
00000110
00000011
00110111
10011000
11111101
00001110
10011001
00110011
11010010

stdout

stderr

js: uncaught JavaScript runtime exception: ReferenceError: "readLine" is not defined.

strace