0_0_19505456_15510.cpp:10:29: error: wrong type argument to unary minus
int c1[_max], c2[_max], c3[-max];
^
0_0_19505456_15510.cpp: In function 'int main()':
0_0_19505456_15510.cpp:23:19: error: 'c3' was not declared in this scope
cin >> v[i] >> c3[i];
^
0_0_19505456_15510.cpp:36:24: error: 'c3' was not declared in this scope
for(int j = 0; j <= c3[i] && j*v[i] <= sum; j++)
^
|