Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a[i]==0 && a[i+1]==0)a[i]=k;k++;
   ^~
/in/foo.cc:15:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a[i]==0 && a[i+1]==0)a[i]=k;k++;
                                  ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 348.0 KiB
#2 Wrong Answer 1ms 336.0 KiB
#3 Wrong Answer 1ms 380.0 KiB
#4 Wrong Answer 1ms 340.0 KiB
#5 Wrong Answer 1ms 344.0 KiB
#6 Wrong Answer 24ms 812.0 KiB
#7 Wrong Answer 24ms 804.0 KiB
#8 Wrong Answer 24ms 780.0 KiB
#9 Wrong Answer 23ms 796.0 KiB
#10 Accepted 1ms 352.0 KiB

信息

递交者
类型
递交
比赛
2024.7.27暑期中级2班练习
语言
C++
递交时间
2024-07-28 09:05:08
评测时间
2024-07-28 09:05:08
评测机
分数
10
总耗时
107ms
峰值内存
812.0 KiB