Result

AC

Code [DL]

$ ':'
 \-(!a!)(a)(a)#

$ 'g'
 \            #(r)(!x!)i(!x!)-@
  \-80--(!r!)---{:}0g-------<
     /                       |
     |                       | 
     \-a-------q[1]im2(r)s1--/


$ 'k'
 \                         #(r)(!x!)-@
  \-2m(!q!)[0](!r!)55m--{:}--1g----<
                      /             |
 @-------------------/              |
   \          \                     |
   |           >-qfq(q)ms1{:}{:}s1--/
   \-(!r!)[1]-/

$ 'main' 
 \                  #
  \--59m5a---{:}0g-<
          /         \
          |          |
          \o{k}{g}s1-/

stdin

01001110
11010100
01010101
01101010
00101101
00100100
00011001
10011101
00000100
01101011
10010011
01000010
11010110
00000000
10111110
00101111
10111101
00010101
10110010
01011011
00011100
00010001
11010001
00000011
00110111
10000001
01101001
11111101
01111000
00000001
11111111
10001001
11100111
00010000
00001001
00011110
10111110
00001010
01101100
11010010
11100110
11001001
10011001
10001000
10101011
00000110
10001011
00001111
00111000
10101011

stdout

10001100000101100101100110111100100011010011110101

stderr

strace