记录详情

Accepted

/in/foo.cc: In constructor 'point::point(const int&, const int&, const int&, const bool&)':
/in/foo.cc:8:12: warning: 'point::step' will be initialized after [-Wreorder]
  int x, y, step;
            ^~~~
/in/foo.cc:7:7: warning:   'bool point::flag' [-Wreorder]
  bool flag;
       ^~~~
/in/foo.cc:9:2: warning:   when initialized here [-Wreorder]
  point(const int &x=0, const int &y=0, const int &step=0, const bool &flag=0) :x(x), y(y), step(step), flag(flag) {}
  ^~~~~
/in/foo.cc: In function 'void bfs()':
/in/foo.cc:33:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if (ii < 0 || ii >= m || jj < 0 || jj >= n || map[ii][jj] == '#' || !flag&&map[ii][jj] == 'T'|| visit[flag][ii][jj])continue;
                                                                        ~~~~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 360.0 KiB
#2 Accepted 5ms 372.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 2ms 344.0 KiB
#5 Accepted 3ms 348.0 KiB
#6 Accepted 3ms 360.0 KiB
#7 Accepted 3ms 344.0 KiB
#8 Accepted 3ms 348.0 KiB
#9 Accepted 3ms 380.0 KiB
#10 Accepted 3ms 380.0 KiB

信息

递交者
类型
递交
题目
逃出魔窟
比赛
泉州师院ACM_训练赛
语言
C++
递交时间
2018-05-19 15:45:31
评测时间
2018-05-19 15:45:31
评测机
分数
100
总耗时
36ms
峰值内存
380.0 KiB