Result

WA

Code [DL]

using System;
class E{static void Main(){
int[] A=new int[] {0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253};
Console.Write(0<=Array.IndexOf(A,Convert.ToInt32(Console.ReadLine(),2))?1:0);
}}

stdin

01000010
11111101
01101001
10011001
11100111
00011010
10101100
11001110
01010100
00100100
00101101
01011011
00000011
10011110
11000000
10000010
00000001
00001111
01001010
01000011
00011011
00000110
01001110
01001110
10101011
10000110
00110111
11101101
10010110
00010101
10110001
01010000
00001100
00010011
00111011
00000000
00110110
00100101
01111000
10001000
11110111
11010010
01100100
00011000
00001010
00010010
11101010
11111101
00011100
10111110

stdout

1

stderr

strace