Result

AC

Code [DL]

using System;class E{static void Main(){for(int i=51;--i>0;)Console.Write(Math.Sqrt(8*Convert.ToInt32(Console.ReadLine(),2)+1)%2==1?1:0);}}

stdin

11001101
00111010
00001111
11000000
01111000
00000001
10010100
11111100
11100111
01010001
11001001
10000110
01111101
10101011
11100111
11111001
01101001
11011001
10001000
11010100
00000110
11010001
00101101
01001110
11001100
00000011
10011001
11110011
00101001
00000000
00010101
11101100
00100100
00010111
01011011
00001010
00110111
10011001
10001100
01100100
00011100
00101100
00111101
11010010
00110100
10100011
10111110
01001011
11111101
01000010

stdout

00101100100001101010101101100110101111001001001011

stderr

strace