Result

ERROR

Code [DL]

using System;class E{static void Main(){while(true)Console.WriteLine(Math.Sqrt(8*Convert.ToByte(Console.ReadLine(),2)+1)%2==1?1:0);}}

stdin

10101100
00001010
00000001
11101010
00001011
00000001
01000010
00000011
00111001
11000001
10001000
00001111
11100001
11111101
10000110
11011001
00010000
01010011
00010100
01100111
01001110
00010101
01101001
10100101
00110000
00101001
00101101
11110110
00000110
01101011
00111011
10001011
10111110
10011001
00011100
11010011
00110111
01100010
00011000
01000001
01011011
11100111
11100100
11001111
01111000
01101001
00000000
11010010
10101011
00100100

stdout

stderr

strace