https://www.luogu.com.cn/problem/P1973 O(n4) 暴力写的好是能过得。。。。 #include using namespace lastweapon; const int N = 200 + 1, PN = N*2 + 1; VI P; int L[N], R[N], s[PN][PN]; int pre[PN][N], suf[PN][N]; // 一边为…
https://www.luogu.com.cn/problem/P1973 O(n4) 暴力写的好是能过得。。。。 #include using namespace lastweapon; const int N = 200 + 1, PN = N*2 + 1; VI P; int L[N], R[N], s[PN][PN]; int pre[PN][N], suf[PN][N]; // 一边为…
讨论
登录后参与讨论
还没有评论,来说第一句吧。