1289 : 简单的阶乘

时间限制Time Limit 1 Sec 内存限制Memory Limit 128 MB 提交次数Submitted 370 Times 通过次数Solved 294 Times 标准评测Standard Judge

题目描述Description

一个数\(n\)的阶乘用感叹号表示,定义为 \(n!=1\times 2\times 3\times \dots \times (n-1) \times n\) ,计算所给数的阶乘.

输入格式Input

\(0\leq n \leq 12\).

输出格式Output

输出\(n!\).

样例Sample

出题Author

CSGrandeur