【例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

2026暑假Python训练(袁)

Not Claimed
Status
Done
Problem
21
Open Since
2026-7-17 0:00
Deadline
2026-9-5 23:59
Extension
24 hour(s)