摘要: A 签到 B 直接DP,f[i][j]表示前i步j步向左的最大值,位置可以直接计算 #include<bits/stdc++.h> using namespace std; const int N=1e5+7; int n,k,z,ans,a[N],f[N][6]; int main() { int 阅读全文
posted @ 2020-07-30 09:28 hfctf0210 阅读(142) 评论(0) 推荐(0) 编辑