记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:23: warning: array subscript is below array bounds [-Warray-bounds]
    if(j-1<0 &&lei1[j-1][k]=='*');
               ~~~~~~~~^
/in/foo.cc:37:25: warning: array subscript is below array bounds [-Warray-bounds]
    if(k-1<0&&lei1[j][k-1]=='*');
              ~~~~~~~~~~~^
/in/foo.cc:41:34: warning: array subscript is below array bounds [-Warray-bounds]
    if(j-1<0&&k-1<0&&lei1[j-1][k-1]=='*');
                     ~~~~~~~~~~~~~^
/in/foo.cc:41:29: warning: array subscript is below array bounds [-Warray-bounds]
    if(j-1<0&&k-1<0&&lei1[j-1][k-1]=='*');
                     ~~~~~~~~^
/in/foo.cc:44:22: warning: array subscript is below array bounds [-Warray-bounds]
    if(j-1<0&&lei1[j-1][k+1]=='*');
              ~~~~~~~~^
/in/foo.cc:50:27: warning: array subscript is below array bounds [-Warray-bounds]
    if(k-1<0&&lei1[j+1][k-1]=='*');
              ~~~~~~~~~~~~~^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 256.0 KiB
#2 Runtime Error 2ms 372.0 KiB
#3 Runtime Error 2ms 372.0 KiB
#4 Runtime Error 2ms 352.0 KiB
#5 Runtime Error 3ms 376.0 KiB
#6 Runtime Error 2ms 256.0 KiB
#7 Runtime Error 3ms 348.0 KiB
#8 Runtime Error 2ms 356.0 KiB
#9 Runtime Error 3ms 352.0 KiB
#10 Runtime Error 2ms 384.0 KiB

信息

递交者
类型
递交
题目
扫雷游戏
题目数据
下载
语言
C++
递交时间
2018-04-29 14:45:31
评测时间
2018-04-29 14:45:31
评测机
分数
0
总耗时
28ms
峰值内存
384.0 KiB