#B. 阶乘

    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.

题目描述

给定一个整数nn,求n!mod998244353n! \mod 998244353

输入格式

一个整数nn,满足0n1060 \leq n \leq 10^6

输出格式

一个整数,n!mod998244353n! \mod 998244353的值

样例

10
3628800

XCPC 24寒假冬令营 练习3

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
3
Start at
2024-2-16 17:00
End at
2024-2-26 17:00
Duration
240 hour(s)
Host
Partic.
7