摘要: 一类积性函数的前缀和 https://blog.csdn.net/skywalkert/article/details/50500009 Σn1(n/i)↓ n=20 20 10 6 5 4 3 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 2 3 4 5 6 7 8 9 10 11 阅读全文
posted @ 2021-05-23 20:58 Acception 阅读(83) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; using ll = long long; const int maxn=1e6+10; int trie[maxn][26],k,cnt[maxn],fail[maxn]; void insert(char 阅读全文
posted @ 2021-05-23 09:19 Acception 阅读(16) 评论(0) 推荐(0)