【深基7.例7】计算阶乘

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.

题目描述

n!n!,也就是 1×2×3×n1\times2\times3\dots\times n

挑战:尝试不使用循环语句(for、while)完成这个任务。

输入格式

第一行输入一个正整数 nn

输出格式

输出一个正整数,表示 n!n!

3
6

提示

数据保证,1n121 \leq n\le12

基础班暑假集训

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
23
Start at
2025-7-29 23:00
End at
2025-8-21 21:00
Duration
550 hour(s)
Host
Partic.
11