skyscraper.cpp: In function 'void dijkstra(int)':
skyscraper.cpp:18:9: error: 'en' was not declared in this scope
if(u==en) return;
^~
skyscraper.cpp:18:9: note: suggested alternative: 'yn'
if(u==en) return;
^~
yn
skyscraper.cpp:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[u].size();i++) if(!vi[g[u][i]]) pq.push(make_pair(-d-w[u][i],g[u][i]));
~^~~~~~~~~~~~
skyscraper.cpp: In function 'int main()':
skyscraper.cpp:34:28: error: 'en' was not declared in this scope
scanf("%d%d%d%d",&st,&t1,&en,&t2);
^~
skyscraper.cpp:34:28: note: suggested alternative: 'n'
scanf("%d%d%d%d",&st,&t1,&en,&t2);
^~
n
skyscraper.cpp:76:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<c.size();j++) vi[c[j]]=false;
~^~~~~~~~~
skyscraper.cpp:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
skyscraper.cpp:39:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t1,&t2);
~~~~~^~~~~~~~~~~~~~~~