摘要:
L.龙之研习 积累多闰年 #include<bits/stdc++.h> using namespace std; #define int long long int k; bool check(__int128 x){ __int128 s=0; for(__int128 i=4;i<=x;i*= 阅读全文
摘要:
I. Essentially Different Suffixes 字符串hash或者tire树 #include<bits/stdc++.h> using namespace std; int tr[300010][30];int cnt[300010]; int idx=0;int ans=0; 阅读全文
摘要:
D.Two Divisors #include<bits/stdc++.h> using namespace std; const int N=500010; int n; int a[N]; int b[N];int c[N]; const int V=10000010; int lp[V];in 阅读全文