0_0_29287449_21117.cpp: In function 'int main()':
0_0_29287449_21117.cpp:32:24: error: 'struct node' has no member named 'x'
sum+=(i-j)*(q[j+1].x-q[j].x);
^
0_0_29287449_21117.cpp:32:31: error: 'struct node' has no member named 'x'
sum+=(i-j)*(q[j+1].x-q[j].x);
^
|