阶乘计算
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.
题目描述
求阶乘是 sucrose 的基本操作,但是她究竟能做到什么复杂度呢?
sucrose 想让你计算 ,答案对 取模。
输入格式
第一行一个整数 表示数据组数。
接下来 行,每行一个整数 。
输出格式
行,每行一个整数表示答案。
样例输入
2
15
4
样例输出
2004310016
24
数据范围
对于的数据,
对于的数据,
对于的数据,
对于所有数据,
10.24
- Status
- Done
- Rule
- OI
- Problem
- 4
- Start at
- 2023-10-24 10:10
- End at
- 2023-10-24 13:40
- Duration
- 3.5 hour(s)
- Host
- Partic.
- 1