Result

WA

Code [DL]

<a="1"+++++++++++++++++++++++++++++++++++++++++++++++
<b="0"++++++++++++++++++++++++++++++++++++++++++++++
>>i1=5+++++
i1[
ptr=i2>
i2=8[-]++++++++
i2[
ptr=i5>>>
i5=0[-]
ptr=i4<

i4[
i4-
i5>++
i4<]
ptr=i3<
i3=getchar(),
i3minus=48
i3--------
----------
----------
----------
----------
[
>+
<-
]
i2<-]
>>.<<

out\n,.
i1<-]




i1 = 50
while i1 > 0
	i2 = 8
	while i2 > 0
		//i4*=2,i5=0
		while i5 >0
			i5-
		end
		while i4 > 0
			i4-
			i5++
		end
		while i5 > 0
			i4+
			i5-
		end

		i3 = getchar()
		i3 -= 48
		//i4 = i3
		while i3 > 0
			i4++
			i3--
		print(i4)
		i2++
	end
	getchar(i3)


stdin

00000001
10001111
11111101
00000100
00111000
11100111
00110100
11000001
01000010
10110111
01110100
00010101
00100100
01101001
00000110
11001101
00001010
00111001
11010010
00110111
01001100
00001111
10011001
10111110
10101011
01111010
01101001
01111000
10110101
00011100
00110001
10110000
10101101
00000011
00000011
11100001
10010101
10101010
00000111
00000000
10001000
00001110
10111000
01011011
00101101
01100111
00010111
10100011
10000000
01001110

stdout






stderr

strace