0_0_33627451_32707.cpp:5:1: error: 'll' does not name a type
ll ans,p[1005][2],f[1000005][2];
^
0_0_33627451_32707.cpp: In function 'int main()':
0_0_33627451_32707.cpp:25:7: error: 'p' was not declared in this scope
rd(p[i][k]);
^
0_0_33627451_32707.cpp:29:22: error: 'f' was not declared in this scope
for(i=1;i<=upp;++i)f[i][0]=f[i][1]=-1e16;
^
0_0_33627451_32707.cpp:30:3: error: 'f' was not declared in this scope
f[0][0]=f[0][1]=0;
^
0_0_33627451_32707.cpp:38:26: error: 'p' was not declared in this scope
if (f[j-w[i][k]][k]+p[i][k]>f[j][k]) f[j][k]=f[j-w[i][k]][k]+p[i][k];
^
0_0_33627451_32707.cpp:43:3: error: 'ans' was not declared in this scope
ans=0;
^
|