0_0_36960486_30220.cpp: In function 'int main()':
0_0_36960486_30220.cpp:14:45: error: invalid types 'int[int]' for array subscript
for(int i=1;i<=m;i++) cin>>p[i]>>h[i]>>c[i];
^
0_0_36960486_30220.cpp:17:23: error: invalid types 'int[int]' for array subscript
for(int k=0;k<=c[i]&&k*p[i]<=j;k++){
^
|