A. 【例29.1】 求阶乘

    Type: Default 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

2526學年_Python拔尖班_第四次練習

Not Claimed
Status
Done
Problem
6
Open Since
2025-11-26 0:00
Deadline
2025-12-4 23:59
Extension
24 hour(s)