记录详情

Accepted

/in/foo.cc: In function 'int bfs()':
/in/foo.cc:13:39: warning: unused variable 'a' [-Wunused-variable]
  int head=0, tail=1, x, y, i, j, cnt, a=0, b=0, l=0, r=0;
                                       ^
/in/foo.cc:13:44: warning: unused variable 'b' [-Wunused-variable]
  int head=0, tail=1, x, y, i, j, cnt, a=0, b=0, l=0, r=0;
                                            ^
/in/foo.cc:13:49: warning: unused variable 'l' [-Wunused-variable]
  int head=0, tail=1, x, y, i, j, cnt, a=0, b=0, l=0, r=0;
                                                 ^
/in/foo.cc:13:54: warning: unused variable 'r' [-Wunused-variable]
  int head=0, tail=1, x, y, i, j, cnt, a=0, b=0, l=0, r=0;
                                                      ^
/in/foo.cc:59:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc:51:34: warning: 'new_d' may be used uninitialized in this function [-Wmaybe-uninitialized]
                         if( new_d==d || d=='0' ) //方向一致,或是目前是从起点刚出发 
                             ~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 364.0 KiB
#2 Accepted 2ms 372.0 KiB

信息

递交者
类型
递交
题目
最少转弯问题
题目数据
下载
语言
C++
递交时间
2019-08-14 09:24:34
评测时间
2019-08-14 09:24:34
评测机
分数
100
总耗时
4ms
峰值内存
372.0 KiB