摘要:
算法 暴力思路显然 观察到更改操作最多只影响一条链 于是显然 代码 #include <bits/stdc++.h> const int MAXLEN = 263000; int k; std::string Result; int q; int Match; char New_Result; in 阅读全文
摘要:
算法 特殊性质 显然链的情况就是括号匹配 因此显然有代码 代码 #include <bits/stdc++.h> #define int long long const int MAXN = 5e5 + 20; int n; std::string Braket; int fa[MAXN]; boo 阅读全文