Result

WA

Code [DL]

importPackage(java.io);s=new BufferedReader(new InputStreamReader(System.in));for(i=0;i<50;i++){l=s.readLine();print(+![0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253].every(function(i){return i-parseInt(l,2)}))}

stdin

11010110
01001110
11010010
00110110
00010101
00000011
00110111
00001111
11101101
11111101
00111001
10100000
00000110
00000000
01110110
11001001
01010000
10101011
01011011
01101010
11111100
10111110
00011100
11110000
00101101
01111000
10101111
10001010
00000000
11001111
01001001
01101001
00000001
00100111
01000010
11100111
00010001
01011010
11100000
10001000
10011001
10001000
10100010
01110111
00001010
00100100
01101101
00101010
00101110
00110011

stdout

stderr

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

strace