/ Vijos /

记录详情

Accepted

/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);
      ^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 28ms 5.934 MiB
#2 Accepted 40ms 7.758 MiB
#3 Accepted 46ms 8.348 MiB
#4 Accepted 87ms 9.07 MiB
#5 Accepted 135ms 9.441 MiB
#6 Accepted 137ms 9.457 MiB
#7 Accepted 136ms 9.426 MiB
#8 Accepted 152ms 9.539 MiB

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C++
递交时间
2019-06-16 18:49:10
评测时间
2019-06-16 18:49:10
评测机
分数
100
总耗时
764ms
峰值内存
9.539 MiB