/ Vijos /

记录详情

Accepted

/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);
      ^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 18ms 5.727 MiB
#2 Accepted 18ms 4.43 MiB
#3 Accepted 17ms 7.328 MiB
#4 Accepted 20ms 8.469 MiB
#5 Accepted 23ms 7.473 MiB
#6 Accepted 24ms 9.23 MiB
#7 Accepted 25ms 7.355 MiB
#8 Accepted 27ms 9.555 MiB

信息

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