unsigned int factorial(unsigned int n) { if (n <= 1) { return 1; } else { return factorial(n-1) * n; } }
递归