foo.cc: In function 'void dijkstra()':
foo.cc:27:27: warning: unused variable 'd' [-Wunused-variable]
27 | int x=q.top().pos,d=q.top().dis;
| ^
foo.cc: In function 'int main()':
foo.cc:54:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
54 | for(int i=1;i<=n;i++)dis[i]=0x7fffffff;cnt=0;
| ^~~
foo.cc:54:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
54 | for(int i=1;i<=n;i++)dis[i]=0x7fffffff;cnt=0;
| ^~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务