/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void A()':
/in/foo.cc:200:56: warning: narrowing conversion of '(get_h(next[i]) + (10000 * depth[next_cnt]))' from 'int' to 'double' inside { } [-Wnarrowing]
       open[++tail]=(struct node){next[i],get_h(next[i])+10000*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 31ms 5.863 MiB
#2 Accepted 34ms 7.668 MiB
#3 Accepted 45ms 8.363 MiB
#4 Accepted 71ms 9.031 MiB
#5 Accepted 114ms 9.445 MiB
#6 Accepted 107ms 9.461 MiB
#7 Accepted 111ms 9.457 MiB
#8 Accepted 129ms 9.52 MiB

信息

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