exercise of ustc C programming 1