#D. 求阶乘

    Type: Default 1000ms 256MiB

求阶乘

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.

Description

给定一个n,求n的阶乘。

Input Format

一个整数n

Output Format

n的阶乘。 {会很大很大很大很大很大很大很大很大很大很大很大很大很大很大很大很大很大的~~!!!!!!}

有可能为负数。

Sample

input

3

output

6

Hint

保证n500n \leq 500

时间限制:1s1 \text {s}

空间限制:256MB256 \text {MB}

高精度专练

Not Attended
Status
Done
Rule
OI
Problem
5
Start at
2020-9-13 14:27
End at
2020-9-20 14:26
Duration
168 hour(s)
Host
Partic.
13