标签: 思维

1 篇文章

thumbnail
牛客练习赛107
题目链接:https://ac.nowcoder.com/acm/contest/49035 A 当 $n!<=m$ 时,$(n!)!$ 直接代入求解 当 $n!>m$ 时,$(n!)!\%m=0$ #include <bits/stdc++.h> #define x first #define y second #defi…