#P1154. n! 之和
n! 之和
題目描述
求 之值,其中 是一個數字, 不大於 。
輸入格式
輸出格式
和
Samples
5
153
Related
In following contests:
求 Sn=1!+2!+3!+4!+5!+…+n! 之值,其中 n 是一個數字, n 不大於 10。
n
和
5
153
In following contests:
By signing up a Hydro universal account, you can submit code and join discussions in all online judging services provided by us.