/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void bfs()':
/in/foo.cc:44:55: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
                 if (nx < 0 || ny < 0 || nx >= m || ny >= n | a[nx][ny] == 'X') break;
                                                    ~~~^~~~
/in/foo.cc:53:31: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
             if (nx >= 0 && ny >= 0 & nx < m && ny < n && a[nx][ny] != 'X' && !vis[nx][ny]) {
                            ~~~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 220.0 KiB
#6 Wrong Answer 1ms 352.0 KiB
#7 Wrong Answer 2ms 348.0 KiB
#8 Wrong Answer 6ms 360.0 KiB
#9 Wrong Answer 1ms 332.0 KiB
#10 Wrong Answer 12ms 464.0 KiB

信息

递交者
类型
递交
题目
P1263 单挑女飞贼
语言
C++
递交时间
2020-12-03 21:40:15
评测时间
2020-12-03 21:40:15
评测机
分数
0
总耗时
33ms
峰值内存
464.0 KiB