Result

AC

Code [DL]

s=[0]
for i in range(1,23):
	s.append(s[-1]+i)
for i in range(0,50):
	if int(input(),2) in s:
		print(1,end="")
	else:
		print(0,end="")

stdin

01001110
10100000
11110101
10111110
00001010
00010011
10011101
01001001
11101100
11010010
10101000
10111001
10101011
10011001
00000000
00010111
11000111
10000100
10111010
11111111
00110100
00010101
01101001
10111100
00110111
11100011
00011100
01111000
00000011
01011011
00101101
10100101
00001111
10101110
11111101
01000010
00000110
01001101
11100111
10010001
11011000
11011011
10001000
01001110
00000011
11001000
00100100
01100111
10101111
00000001

stdout

10011000010011100000011010111110101110100011101001

stderr

strace