0_0_14599588_12432.cpp: In function 'void solve()': 0_0_14599588_12432.cpp:29:49: error: 'v' was not declared in this scope d[j]=max3(d[j],p[j-V[i]]+A[i]+B[i],d[j-v[i]]+A[i]); //要么是第一个放 ^