0_0_29507477_3119.cpp:17:14: error: invalid declarator before 'g'
vector<edge> g[80007];
^
0_0_29507477_3119.cpp: In function 'void dij(int)':
0_0_29507477_3119.cpp:38:17: error: 'g' was not declared in this scope
for(int i=0;i<g[v].size();i++)
^
0_0_29507477_3119.cpp: In function 'int main()':
0_0_29507477_3119.cpp:80:4: error: 'g' was not declared in this scope
g[ma[make_pair(x1,y1)]].push_back( edge( ma[make_pair(x2,y2)],cost) );
^
0_0_29507477_3119.cpp:92:18: error: 'g' was not declared in this scope
for(int j=0;j<g[i].size();j++)
^
|