/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void A()':
/in/foo.cc:204:45: warning: narrowing conversion of 'get_h(next[i])' from 'int' to 'double' inside { } [-Wnarrowing]
     open[++tail]=(struct node){next[i],get_h(next[i])};    
                                        ~~~~~^~~~~~~~~
/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 Wrong Answer 30ms 4.668 MiB
#2 Wrong Answer 36ms 4.543 MiB
#3 Wrong Answer 29ms 4.531 MiB
#4 Wrong Answer 29ms 4.496 MiB
#5 Wrong Answer 30ms 4.234 MiB
#6 Wrong Answer 31ms 4.309 MiB
#7 Wrong Answer 34ms 4.305 MiB
#8 Accepted 34ms 4.301 MiB

信息

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