#A. 【例29.1】 求阶乘

    Type: RemoteJudge 1000ms 256MiB

【例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,对于所有数据,1n201≤n≤20

输出格式

输出n!n!的值。

样例

4
24

数学之美

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
3
Start at
2024-11-8 14:15
End at
2025-1-30 22:15
Duration
2000 hour(s)
Host
Partic.
9