foo.cc: In function 'void Astar()':
foo.cc:72:44: warning: narrowing conversion of 'f[cur.FLY::node]' from 'int' to 'double' inside { } [-Wnarrowing]
q.push((FLY){n,dist[cur.node],f[cur.node]});
~~~~~~~~~~^
foo.cc: In function 'int main()':
foo.cc:84:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
foo.cc:91:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&u,&v);
~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'void pre()':
foo.cc:45:10: warning: 'miny' may be used uninitialized in this function [-Wmaybe-uninitialized]
f[miny]=1;
~~~~~~~^~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-07-26T09:06:36.588Z","handle":"2020-07-26T09:06:36.588Z","cache_start":"2020-07-26T09:06:36.605Z","read_cases":"2020-07-26T09:06:38.556Z","judge":"2020-07-26T09:06:38.556Z","done":"2020-07-26T09:06:42.411Z"}