记录详情

Runtime Error

/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 Accepted 1ms 224.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Runtime Error 1ms 228.0 KiB
#5 Runtime Error 1ms 216.0 KiB

信息

递交者
类型
递交
题目
6-8 回形矩阵
比赛
2020苏青奥赛集训营(2021-5-9作业)
语言
C++
递交时间
2021-05-09 15:14:42
评测时间
2021-05-09 15:14:42
评测机
分数
20
总耗时
8ms
峰值内存
228.0 KiB