摘要: T1 考虑必须要有个循环节,且循环节长度为 \(\gcd(n,k)\)。 多重组合数即可。 点击查看代码 #include <iostream> #include <cmath> #include <vector> using std::cin; using std::cout; const int 阅读全文
posted @ 2026-10-07 14:19 SigmaToT 阅读(11) 评论(0) 推荐(0)