记录详情

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. 27ms 660.0 KiB
#4 Wrong Answer Read -1659633299, expect -13849537587585362. 76ms 1.16 MiB
#5 Runtime Error Aborted 78ms 1.172 MiB
#6 Wrong Answer Read -1194307358, expect 812094521856. 38ms 792.0 KiB
#7 Wrong Answer Read 318891578, expect -258747217039. 48ms 920.0 KiB
#8 Runtime Error Aborted 76ms 1.195 MiB
#9 Runtime Error Aborted 74ms 1.176 MiB
#10 Runtime Error Aborted 72ms 1.148 MiB

信息

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