08 2020 档案
摘要:fib[50] > 1e10; 所以在结构体中定义一个数组 存放区间内 各个fib下标的数量 如果存在点下标大于等于50, 标记一下即可 代码很长, 写的时候很随意, 看的时候很恶心 //不用down(k) 和 w数组, 单点修改更快 #include<cstdio> #include<cstrin
阅读全文
摘要:构造出矩阵即可 #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> using namespace std; typedef long long ll; const int mod = 193; int
阅读全文
摘要:一开始以为求欧拉函数 //78ms #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn = 1e6 + 1000; const int INF = 0x3f3f3f3f;
阅读全文
摘要:(t*10)% k 会tle 转换为千进制 #include<cstdio> #include<cstring> using namespace std; const int maxn = 1e6 + 10000; typedef long long ll; int prime[maxn], isp
阅读全文
摘要:#pragma warning (disable : 4996) #include<cstdio> #include<queue> #include<vector> #include<cstring> using namespace std; const int maxn = 2e5 + 10; s
阅读全文
摘要:#pragma warning (disable : 4996) #include<cstdio> #include<queue> #include<vector> #include<cstring> using namespace std; const int maxn = 2e2 + 10; s
阅读全文

浙公网安备 33010602011771号