foo.cc: In function 'int dijkstra(int)':
foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[f.x].size();i++)
~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:31:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d:%d\n%d %d",&hour,&mine,&n,&m);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:34:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&u,&v,&w);
~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:39:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&t,&ch);
~~~~~^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务