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}

20200822高精度练习

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
6
Start at
2020-8-22 8:26
End at
2020-8-25 8:26
Duration
72 hour(s)
Host
Partic.
22