Result

WA

Code [DL]

using System;class E{static void Main(){for(int i=0;i<50;++i)Console.Write(Math.Pow(8*Convert.ToInt32(Console.ReadLine(),2)+1,0.5)%2);}}

stdin

11101010
01001100
00010010
11100111
11101011
00111110
00001110
01110001
10001100
00100111
00001010
11010010
01011101
00000011
01011011
00001111
11011001
01111000
10101111
01001110
00011100
01010000
01100100
11101101
00110111
10111110
10110011
10101011
00000001
10011000
10100111
11100110
11001100
11110110
01000010
00000000
00000110
10011001
00100100
00001100
00101111
10111110
11111101
00101101
00011000
00010101
01001001
01101001
11010010
10001000

stdout

1.27817001676480.6779253585061330.041594578792295811.370496884402880.2934968096079550.630145812734650.08321791298264711.481338085566411.69180601295413111.294688127912361111.6773319683494111.42993454442581111.317977802344330.3019433961698111.55456348076513111.8549864614954110.8855270850248190.5650105975644450.9068759058498660.41039470235350.37341546466758111111.84885780179611.41648783894761111.892443989449810.186773244895647111

stderr

strace