摘要:
题意:把一个字符串切成形如 $ABAB......ABC$ 的形式,其中 $A,B,C$ 都是非空子串且 $F(A) \le F(C)$($F(S)$ 表示 $S$ 中出现奇数次的数的个数)。问方法数。(字符串长度 $|S| \le 2^{20}$) 思路: 1.看到一道题可以首先想暴力:按照题意模 阅读全文
posted @ 2022-07-20 17:08
Faker_yu
阅读(33)
评论(0)
推荐(0)
摘要:
struct node { int a[25]; node(){memset(a, 0, sizeof a); a[0] = 1;} node(int x) { a[0] = 0; if(!x) a[++a[0]] = 0; else while(x) a[++a[0]] = (x % 10), x 阅读全文
posted @ 2022-07-20 16:39
Faker_yu
阅读(24)
评论(0)
推荐(0)

浙公网安备 33010602011771号