记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:19:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(a[i][j]+a[i-1][j]+a[i+1][j]+a[i][j-1]+a[i][j+1]+a[i+1][j+1]+a[i-1][j-1]+a[i-1][j+1]+a[i+1][j-1]>max)
    ^~
foo.cc:21:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     Y=j;
     ^
foo.cc:9:6: warning: unused variable 'b' [-Wunused-variable]
  int b[][2]={0};
      ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 2 2 \ No newline at end 2ms 384.0 KiB
#2 Wrong Answer 0a1 > 8 2 \ No newline at end 1ms 384.0 KiB
#3 Wrong Answer 0a1 > 49 67 \ No newline at en 5ms 460.0 KiB
#4 Wrong Answer 0a1 > 456 188 \ No newline at 40ms 1.109 MiB
#5 Wrong Answer 0a1 > 853 157 \ No newline at 193ms 4.16 MiB

信息

递交者
类型
递交
比赛
周末测试2
语言
C++
递交时间
2021-09-24 21:17:13
评测时间
2021-09-24 21:17:13
评测机
分数
0
总耗时
244ms
峰值内存
4.16 MiB