5583专题

hdu 5583 Kingdom of Black and White(高效)

题目链接:hdu 5583 Kingdom of Black and White 代码 #include <cstdio>#include <cstring>#include <algorithm>using namespace std;const int maxn = 1e5 + 5;typedef long long ll;char str[maxn];int L[maxn][2