Nankai 100 questions answer (C language version)