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