第33065题 程序题
利用for循环求n的阶乘

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

输入描述

输入一个正整数n,对于所有数据满足 1 ≤ n ≤ 20。

输出描述

输出n!的值。

输入样例1

4

输出样例1

24
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
编辑模式
程序运行统计
暂无判题统计
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析