Rosetta Problems

Factorial

https://judge.yosupo.jp/problem/factorial