题目中所给出的公式是:
对于一个正整数 xxx,x!=1×2×⋯×x−1×xx! = 1 \times 2 \times \cdots \times x - 1 \times xx!=1×2×⋯×x−1×x。
建议改成:
对于一个正整数 xxx,x!=1×2×⋯×(x−1)×xx! = 1 \times 2 \times \cdots \times (x - 1) \times xx!=1×2×⋯×(x−1)×x。
以此避免引起歧义 源代码:
> 对于一个正整数 $x$,$x! = 1 \times 2 \times \cdots \times (x - 1) \times x$。