/in/foo.cc: In function 'void A()':
/in/foo.cc:203:56: warning: narrowing conversion of '(get_h(next[i]) + (100 * depth[next_cnt]))' from 'int' to 'double' inside { } [-Wnarrowing]
open[++tail]=(struct node){next[i],get_h(next[i])+100*depth[next_cnt]};
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:264:37: warning: narrowing conversion of 'get_h(s0)' from 'int' to 'double' inside { } [-Wnarrowing]
open[++tail]=(struct node){s0,get_h(s0)};
~~~~~^~~~
/in/foo.cc:261:6: warning: unused variable 'beginning' [-Wunused-variable]
int beginning=time(0);
^~~~~~~~~