记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:34: warning: operation on 'd' may be undefined [-Wsequence-point]
      if(a[i+dx[d]][j+dy[d]]!=0) d=(++d)%4;
                                 ~^~~~~~~~
/in/foo.cc:25:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(j=1;j<=n;j++)
   ^~~
/in/foo.cc:27:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    cout<<endl;
    ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB

信息

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