摘要:        
https://www.acwing.com/problem/content/201/ 要注意这次的数论分块里面是有一个上界n的,对k进行分块的时候l和r都不能超过n。 cpp include using namespace std; typedef long long ll; ll s1(ll n    阅读全文
posted @ 2019-09-05 17:44
Inko
阅读(139)
评论(0)
推荐(0)
        
            
        
        
摘要:        
https://www.acwing.com/problem/content/258/ cpp include using namespace std; typedef long long ll; const int N = 600010; int trie[N 24][2], latest[N 2    阅读全文
posted @ 2019-09-05 17:22
Inko
阅读(117)
评论(0)
推荐(0)
        
            
        
        
摘要:        
``` include define mid ((l+r) 1) using namespace std; typedef long long ll; const int MAXN = 200000 + 5; int T[MAXN], tcnt; int cnt[MAXN cnt[v] cnt[u]    阅读全文
posted @ 2019-09-05 16:55
Inko
阅读(97)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号