摘要: 一开始以为求欧拉函数 //78ms #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn = 1e6 + 1000; const int INF = 0x3f3f3f3f; 阅读全文
posted @ 2020-08-04 23:23 wansheking 阅读(76) 评论(0) 推荐(0)
摘要: (t*10)% k 会tle 转换为千进制 #include<cstdio> #include<cstring> using namespace std; const int maxn = 1e6 + 10000; typedef long long ll; int prime[maxn], isp 阅读全文
posted @ 2020-08-04 21:46 wansheking 阅读(169) 评论(0) 推荐(0)
摘要: #pragma warning (disable : 4996) #include<cstdio> #include<queue> #include<vector> #include<cstring> using namespace std; const int maxn = 2e5 + 10; s 阅读全文
posted @ 2020-08-04 20:07 wansheking 阅读(169) 评论(0) 推荐(0)