gas.cpp:12:8: error: expected initializer before '.' token
int v,e.uu,vv,ww;
^
gas.cpp: In function 'int main()':
gas.cpp:25:23: error: 'e' was not declared in this scope
scanf("%d %d",&v,&e);
^
gas.cpp:37:27: error: 'uu' was not declared in this scope
scanf("%d %d %d",&uu,&vv,&ww);
^
gas.cpp:37:31: error: 'vv' was not declared in this scope
scanf("%d %d %d",&uu,&vv,&ww);
^
gas.cpp:37:35: error: 'ww' was not declared in this scope
scanf("%d %d %d",&uu,&vv,&ww);
^
gas.cpp:39:45: error: 'w' was not declared in this scope
graph[uu].push_back(P(vv,(long long)w));
^
gas.cpp:51:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<graph[tp.second].size();j++){
^
gas.cpp:43:14: warning: unused variable 'visit' [-Wunused-variable]
bool visit[MAXV];
^
gas.cpp:28:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cities[i].cost);
^