记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:26:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(a>x[i][2]);
    ^~
foo.cc:27:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     s+=a;
     ^
foo.cc:12:8: warning: array subscript is above array bounds [-Warray-bounds]
  x[1][2]=0;
  ~~~~~~^
foo.cc:20:13: warning: array subscript is above array bounds [-Warray-bounds]
    s+=x[i][2];
       ~~~~~~^
foo.cc:26:15: warning: array subscript is above array bounds [-Warray-bounds]
    if(a>x[i][2]);
         ~~~~~~^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read -1000000000, expect -20986219947. 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read 1787220408, expect -2629982691922558. 29ms 660.0 KiB
#4 Wrong Answer Read -1659633299, expect -13849537587585362. 77ms 1.133 MiB
#5 Runtime Error Aborted 81ms 1.172 MiB
#6 Wrong Answer Read -1194307358, expect 812094521856. 37ms 800.0 KiB
#7 Wrong Answer Read 318891578, expect -258747217039. 48ms 888.0 KiB
#8 Runtime Error Aborted 79ms 1.18 MiB
#9 Runtime Error Aborted 78ms 1.18 MiB
#10 Runtime Error Aborted 77ms 1.102 MiB

信息

递交者
类型
递交
题目
阅读 (reading.cpp/c/pas)
题目数据
下载
语言
C++
递交时间
2021-08-12 10:42:01
评测时间
2021-08-12 10:42:01
评测机
分数
10
总耗时
515ms
峰值内存
1.18 MiB