随笔分类 - 数学-BSGS
摘要:1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e3+11,St=1e3,mod=1e4; 4 int dp[N][N],sum[N][N]; 5 6 inline int re_ad() { 7 char ch=get
        阅读全文
                
摘要:Update2021.8.1:更新了BSGS板子的代码,更加简洁易懂的版本 1 #include<bits/stdc++.h> 2 #define ll long long 3 using namespace std; 4 ll p,a,b; 5 map<ll,ll> mp; 6 7 inline 
        阅读全文
                
                    
                
浙公网安备 33010602011771号