Accepted

foo.cc: In function ‘int main()’:
foo.cc:20:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   20 |         for(int i=1;i<=r;i++)
      |         ^~~
foo.cc:23:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   23 |                 q.push(node(1,1,1));
      |                 ^
foo.cc:38:33: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
   38 |                                 if(nx>=1&&nx<=r&&ny>=1&&ny<=c&&ch[nx][ny]=='.')
      |                                 ^~
foo.cc:40:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   40 |                                         ch[nx][ny]='#';
      |                                         ^~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 2ms 504.0 KiB
#5 Accepted 2ms 504.0 KiB
#6 Accepted 2ms 504.0 KiB
#7 Accepted 3ms 504.0 KiB
#8 Accepted 2ms 492.0 KiB
#9 Accepted 3ms 504.0 KiB
#10 Accepted 2ms 500.0 KiB

信息

递交者
类型
递交
题目
P2063 走迷宫
语言
C++
递交时间
2025-07-22 15:47:10
评测时间
2025-07-22 15:47:10
评测机
分数
100
总耗时
26ms
峰值内存
504.0 KiB