beat the length of this valid C code