/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void try_move(int)':
/in/foo.cc:44:43: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if ((x+dir[i][0]>=0)&&(x+dir[i][0]<3)&&(y+dir[i][1]>=0)&&(y+dir[i][1]<3))
                                          ~^~~~~~~~~~
/in/foo.cc:57:17: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
   bfs[now][x][y]=0;
   ~~~~~~~~~~~~~~^~
# 状态 耗时 内存占用
#1 Accepted 7ms 2.625 MiB
#2 Accepted 8ms 4.375 MiB
#3 Accepted 9ms 1.0 MiB
#4 Accepted 24ms 2.863 MiB
#5 Accepted 26ms 4.223 MiB
#6 Accepted 23ms 3.5 MiB
#7 Accepted 27ms 2.75 MiB
#8 Accepted 25ms 4.215 MiB

信息

递交者
类型
递交
题目
P1360 八数码问题
语言
C++
递交时间
2017-07-05 17:29:01
评测时间
2017-07-05 17:29:01
评测机
分数
100
总耗时
152ms
峰值内存
4.375 MiB