//拒绝抄袭 //f[i]表示洗劫前i家店铺的最大收益 #include <iostream> #include <cstdio> using namespace std; const int N = 100010; int w[N], f[N]; int main(){ int T; //f[0] = 0, f[1] = w[1] cin >> T; /*因为不能洗劫相邻两家店铺,所以洗劫前i家店
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有