0_0_33877021_30750.cpp: In function 'int main()':
0_0_33877021_30750.cpp:19:14: error: invalid types 'int[int]' for array subscript
if((d*(x[i]-x[i-1]))<(2*c+d)){
^
0_0_33877021_30750.cpp:19:21: error: invalid types 'int[int]' for array subscript
if((d*(x[i]-x[i-1]))<(2*c+d)){
^
0_0_33877021_30750.cpp:20:14: error: invalid types 'int[int]' for array subscript
m+=d*(x[i]-x[i-1]);
^
0_0_33877021_30750.cpp:20:21: error: invalid types 'int[int]' for array subscript
m+=d*(x[i]-x[i-1]);
^
|