记录详情

Wrong Answer

foo.cc: In function 'int main()':
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;
                                 ~^~~~~~~~
foo.cc:25:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(j=1;j<=n;j++)
   ^~~
foo.cc:27:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
    cout<<endl;
    ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 1,,2,,3,,4,,5,,6,,7, expect 1,,2,,3,,4,,5,,6,,7. 2ms 408.0 KiB

信息

递交者
类型
自测
题目
6-8 回形矩阵
语言
C++
递交时间
2021-05-10 21:02:11
评测时间
2021-05-11 09:41:48
评测机
分数
0
总耗时
2ms
峰值内存
408.0 KiB