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

    Type: RemoteJudge 1000ms 256MiB

【深基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

2024-11-18

Not Claimed
Status
Done
Problem
7
Open Since
2024-11-18 0:00
Deadline
2025-4-29 23:59
Extension
24 hour(s)