Result

AC

Code [DL]

a5*>80$>$2*i68*-+$1-:6$0$?.v
;
>  ^
?vv?:v?=,2*+1:@:{:}<:~~i~~ <
:0>1-              ^
-v  1<
^>n~~1

stdin

10001111
01001110
00101111
01011011
00000001
10011111
00100111
10101011
11010010
00001010
10000000
00000011
00110000
00110111
11010101
11101001
00010110
01110101
10010101
10111110
10001000
10011010
01110000
01001001
00011010
10010110
01101001
00000110
11001010
10011001
00000000
01000010
11100111
11001100
01100000
11101100
00101101
10100111
10111000
11010000
11110001
00001010
00011100
00010101
01000010
00001111
00010011
11111101
01111000
00100100

stdout

01011001110101000001100000110111100010000111110111

stderr

strace