0_0_29760850_2137.cpp:7:2: error: 'floatw' does not name a type
floatw;
^
0_0_29760850_2137.cpp: In function 'void add(int, int, float, int)':
0_0_29760850_2137.cpp:20:10: error: 'struct edge' has no member named 'w'
e[bian].w=w;
^
0_0_29760850_2137.cpp: In function 'void spfa(int, float*)':
0_0_29760850_2137.cpp:43:25: error: 'struct edge' has no member named 'w'
if(ch[y]>ch[c]+e[i].w)
^
0_0_29760850_2137.cpp:45:23: error: 'struct edge' has no member named 'w'
ch[y]=ch[c]+e[i].w;
^
0_0_29760850_2137.cpp: In function 'int main()':
0_0_29760850_2137.cpp:151:23: error: 'struct edge' has no member named 'w'
float g=r+rr+e[i].w;
^
|