Result

AC

Code [DL]

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

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


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

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

stdin

00000000
11000100
10101011
10101000
01111000
10011001
00110111
00000000
00010011
00110001
00100100
11110110
11111101
10000001
00101110
10001000
10111110
00010101
01100011
10100100
00000001
00011100
01110010
11100101
00000011
11010100
01000010
00000110
10100011
10110110
11100011
10010001
00000110
01001110
00010010
00010110
00001111
00001010
00101101
01101001
11100111
10101111
00011010
01011011
01010100
10000000
11010010
00011110
10111101
01101110

stdout

10101111001010011100110010110000110011111001001000

stderr

strace