Result

WA

Code [DL]

for(c=java.lang.System.in.readLine();;)print(+!(Math.sqrt(8*parseInt(c,2)+1)%1))

stdin

10111110
01100011
01100000
00111000
01111111
00000110
11011101
00001010
00010101
00111101
00100100
01001001
10110110
01011010
01110001
00000011
00110111
00000000
00101101
11100111
00000100
10100000
10001000
10110011
00011100
01101001
01011011
10011111
11011111
11111101
01000010
11001010
00001111
10010001
10010011
00000010
01111000
01011111
00110011
10010110
01100101
10001100
00000001
11000101
10101011
01001110
01000010
11010010
10011001
00101101

stdout

stderr

js: uncaught JavaScript runtime exception: TypeError: Cannot find function readLine in object java.io.BufferedInputStream@449b2d27.

strace