传送门
题解:
先计算一共有多少个字串,然后减去不合法的字串就行了。
#include <bits/stdc++.h>
using namespace std;
const int N=5e5+7;
typedef long long ll;
题解:
先计算一共有多少个字串,然后减去不合法的字串就行了。
#include <bits/stdc++.h>
using namespace std;
const int N=5e5+7;
typedef long long ll;