记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(++j<=n&&!num[i][j])
   ^~~~~
/in/foo.cc:12:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    num[i][j]=++tot;--j;//向右
                    ^~
/in/foo.cc:13:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(++i<=n&&!num[i][j])
   ^~~~~
/in/foo.cc:14:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    num[i][j]=++tot;--i;//向下
                    ^~
/in/foo.cc:15:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(--j> 0&&!num[i][j])
   ^~~~~
/in/foo.cc:16:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    num[i][j]=++tot;++j;//向左
                    ^~
/in/foo.cc:17:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   while(--i> 0&&!num[i][j])
   ^~~~~
/in/foo.cc:18:20: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
    num[i][j]=++tot;++i;//向上
                    ^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
自测
题目
6-8 回形矩阵
语言
C++
递交时间
2021-05-09 14:19:42
评测时间
2021-05-09 14:19:42
评测机
分数
0
总耗时
1ms
峰值内存
216.0 KiB