Result

WA

Code [DL]

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

stdin

10001000
00000110
11111101
11010101
01111000
00001010
01111000
01001110
10000110
00001111
00111110
00010101
01000111
00011011
11010010
01101110
00010010
00100100
11010000
00000001
00000000
10000000
11000010
00000001
10010110
01000100
11111110
01110000
11001001
01011011
10100000
01011000
11100111
00110111
10001110
00000011
00101101
01110001
10011001
01101001
11101101
10110101
10111110
10101011
01111011
00011100
01010110
10110000
01000010
00101100

stdout

stderr

strace