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,对于所有数据,0n200≤n≤20

输出格式

输出n!n!的值。

样例

4
24

循环

Not Claimed
Status
Done
Problem
10
Open Since
2024-9-8 0:00
Deadline
2024-9-16 23:59
Extension
24 hour(s)