Result

WA

Code [DL]

$
   v{m}2a}s}3{<vs}1{]<
>0{>[{%?{5}r  @>}}s{ @1%$
           #%9<      >0%$
$

stdin

10011001
10101011
11101110
11000011
10011011
00111100
00110111
00001101
11100111
01111000
01001110
00100011
10011001
11100010
10011111
00010100
00101111
00101101
10001000
00100100
00001111
10111110
11111101
00000011
01000010
00011100
00000001
11001011
00010101
10110110
00111000
10011110
00010011
10100011
01011011
00000000
01011001
01000010
01101001
10111111
00100001
00011010
11010010
01000011
00000110
00001010
10000010
10111010
11000110
00000111

stdout

0

stderr

strace