摘要: Soved:3 rank:133 A.Ternay String 欧拉降幂一下 但是反复求phi会超时 但mod是同一个就可以记忆化一下 #include <bits/stdc++.h> using namespace std; typedef long long ll; const ll mod 阅读全文
posted @ 2018-07-28 20:27 lwqq3 阅读(141) 评论(0) 推荐(0) 编辑