记录详情

Runtime Error

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 Standard answer longer than user output. 2ms 384.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#4 Runtime Error Aborted 2ms 384.0 KiB
#5 Runtime Error Segmentation fault 1ms 384.0 KiB

信息

递交者
类型
递交
题目
6-8 回形矩阵
语言
C++
递交时间
2021-05-16 20:18:49
评测时间
2021-05-16 20:18:49
评测机
分数
0
总耗时
10ms
峰值内存
384.0 KiB