【例29.1】 求阶乘

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

说明

利用for循环求n!n!的值。
提示,n!=1×2×...×nn!=1×2×...×n

输入格式

输入一个正整数nn,对于所有数据,0n200≤n≤20

输出格式

输出n!n!的值。

样例

4
24

20251012编程挑战精英赛训练

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
51
Start at
2025-9-24 15:00
End at
2025-11-5 7:00
Duration
1000 hour(s)
Host
Partic.
58