foo.cc: In function 'double Dijkstra(int, int)':
foo.cc:58:10: warning: unused variable 'ds' [-Wunused-variable]
58 | double ds = W.dis;
| ^~
foo.cc: In function 'int main()':
foo.cc:80:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
80 | scanf("%d%d",&N,&M);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:84:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
84 | scanf("%d%d%d",&x,&y,&z);
| ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:91:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
91 | scanf("%d%d",&A,&B);
| ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务