ModInt\mint 泛编程模板类 2022-9-13 23:25 | 487 | 0 | 🎓 理工 取模模板类 #define LL long long template<const int T> struct ModInt { const static int mod = T; int x; ModInt(int x = 0) : x(x % mod) {} int val() { return x; } ModInt operat… mintModInt