C language commonly used algorithm Daquan