Result

WA

Code [DL]

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

stdin

01000000
01100110
01111000
10001000
10010111
01010110
01101110
00001010
11100000
00010101
10011001
00000001
01010011
11000111
10011111
00100100
11100101
11100001
00000000
00101101
00011100
00010101
00010011
10101011
10111001
11001100
10100111
00000110
11101111
10000101
01010100
11000100
01101001
00000011
00100111
00001111
00000000
00000100
11010010
01000010
10111110
11111001
11111101
01011011
00110111
11000010
11110110
01001110
11100111
00000101

stdout

stderr

js: uncaught JavaScript runtime exception: TypeError: Cannot call method "readLine" of null

strace