记录详情

Accepted

/in/foo.cc: In function 'int BFS(Point)':
/in/foo.cc:37:151: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if (next.x < n && next.x >= 0 && next.y < m && next.y >= 0 && mp[next.x][next.y] != '#' && (mp[next.x][next.y] != 'T' || mp[next.x][next.y] == 'T' && now.p) && !vis[next.x][next.y][next.p])
                                                                                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 228.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 232.0 KiB
#6 Accepted 1ms 220.0 KiB
#7 Accepted 1ms 224.0 KiB
#8 Accepted 1ms 220.0 KiB
#9 Accepted 2ms 228.0 KiB
#10 Accepted 2ms 220.0 KiB

信息

递交者
类型
递交
题目
逃出魔窟
语言
C++
递交时间
2020-12-11 10:50:07
评测时间
2020-12-11 10:50:07
评测机
分数
100
总耗时
18ms
峰值内存
232.0 KiB