0_0_21590565_5920.cpp:10:8: error: 'struct std' redeclared as different kind of symbol
struct std
^
<built-in>: note: previous declaration 'namespace std { }'
0_0_21590565_5920.cpp:13:6: error: invalid type in declaration before ';' token
}G[N];
^
0_0_21590565_5920.cpp: In function 'void prim()':
0_0_21590565_5920.cpp:41:45: error: request for member 'x' in 'G[i]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[t].x,G[t].y));
^
0_0_21590565_5920.cpp:41:52: error: request for member 'y' in 'G[i]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[t].x,G[t].y));
^
0_0_21590565_5920.cpp:41:59: error: request for member 'x' in 'G[t]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[t].x,G[t].y));
^
0_0_21590565_5920.cpp:41:66: error: request for member 'y' in 'G[t]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[t].x,G[t].y));
^
0_0_21590565_5920.cpp: In function 'int main()':
0_0_21590565_5920.cpp:57:34: error: request for member 'x' in 'G[i]', which is of non-class type 'int'
scanf("%lf%lf",&G[i].x,&G[i].y);
^
0_0_21590565_5920.cpp:57:42: error: request for member 'y' in 'G[i]', which is of non-class type 'int'
scanf("%lf%lf",&G[i].x,&G[i].y);
^
0_0_21590565_5920.cpp:58:26: error: request for member 'x' in 'G[q]', which is of non-class type 'int'
dis[p]=disp(G[q].x,G[q].y,G[p].x,G[p].y);
^
0_0_21590565_5920.cpp:58:33: error: request for member 'y' in 'G[q]', which is of non-class type 'int'
dis[p]=disp(G[q].x,G[q].y,G[p].x,G[p].y);
^
0_0_21590565_5920.cpp:58:40: error: request for member 'x' in 'G[p]', which is of non-class type 'int'
dis[p]=disp(G[q].x,G[q].y,G[p].x,G[p].y);
^
0_0_21590565_5920.cpp:58:47: error: request for member 'y' in 'G[p]', which is of non-class type 'int'
dis[p]=disp(G[q].x,G[q].y,G[p].x,G[p].y);
^
0_0_21590565_5920.cpp:64:45: error: request for member 'x' in 'G[i]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[p].x,G[p].y));
^
0_0_21590565_5920.cpp:64:52: error: request for member 'y' in 'G[i]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[p].x,G[p].y));
^
0_0_21590565_5920.cpp:64:59: error: request for member 'x' in 'G[p]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[p].x,G[p].y));
^
0_0_21590565_5920.cpp:64:66: error: request for member 'y' in 'G[p]', which is of non-class type 'int'
dis[i]=Min(dis[i],disp(G[i].x,G[i].y,G[p].x,G[p].y));
^
|