0_0_15914519_13689.cpp:13:5: error: conflicting declaration 'int EC'
int EC;
^
0_0_15914519_13689.cpp:11:15: note: previous declaration as 'point EC [10000]'
point*v[1000],EC[10000];
^
0_0_15914519_13689.cpp: In function 'void addedge(int, int, int)':
0_0_15914519_13689.cpp:16:2: error: 'ES' was not declared in this scope
ES[++EC].next=v[x];v[x]=ES+EC;v[x]->data=y;v[x]->cost=z;
^
0_0_15914519_13689.cpp:16:7: error: lvalue required as increment operand
ES[++EC].next=v[x];v[x]=ES+EC;v[x]->data=y;v[x]->cost=z;
^
0_0_15914519_13689.cpp: In function 'int main()':
0_0_15914519_13689.cpp:23:5: error: incompatible types in assignment of 'int' to 'point [10000]'
EC=0;
^
|