Result

WA

Code [DL]

$
    v{m}2a}s}3{<^s}1{]<
>0{>>?{5}r     @>}}s{ @1%$
                      >0%$
$

stdin

10111110
11110011
10110101
10111111
00000000
01101001
10101011
00011100
00110110
10100111
00000100
00101101
00001000
01000010
00000011
10001000
00110111
10111010
01111100
01111000
11011100
00101101
11001100
11011110
00001010
11010000
10110001
01101110
10000110
11010010
11100111
01011011
10111101
11100001
00100100
11101100
01001100
00000110
11111101
00000011
10011001
00001111
11010001
10100001
11111111
10000011
00010101
01001110
00000001
11110101

stdout

0

stderr

strace