/in/foo.cc: In function 'void A()':
/in/foo.cc:201:56: warning: narrowing conversion of '(get_h(next[i]) + depth[next_cnt])' from 'int' to 'double' inside { } [-Wnarrowing]
open[++tail]=(struct node){next[i],get_h(next[i])+depth[next_cnt]};
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:257: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:254:6: warning: unused variable 'beginning' [-Wunused-variable]
int beginning=time(0);
^~~~~~~~~