Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:8: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
       s+=a[i-1][j]+a[i][j-1]+a[i+1][j]+a[i][j+1]+a[i-1][j-1]+a[i-1][j+1]+a[i+1][j-1]+a[i+1][j+1];
       ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 488.0 KiB
#2 Wrong Answer 2ms 480.0 KiB
#3 Wrong Answer 2ms 464.0 KiB
#4 Wrong Answer 2ms 488.0 KiB
#5 Wrong Answer 2ms 484.0 KiB
#6 Wrong Answer 2ms 504.0 KiB
#7 Wrong Answer 2ms 484.0 KiB
#8 Wrong Answer 2ms 488.0 KiB
#9 Wrong Answer 3ms 484.0 KiB
#10 Wrong Answer 2ms 488.0 KiB

信息

递交者
类型
递交
题目
P1482 扫雷游戏
语言
C++
递交时间
2021-12-03 14:18:29
评测时间
2021-12-03 14:18:29
评测机
分数
0
总耗时
24ms
峰值内存
504.0 KiB