Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   29 |                 while (a[r]*(r-l+1)-pre>k)
      |                 ^~~~~
/in/foo.cc:31:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   31 |                         ans=max(ans,(r-l+1));
      |                         ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Wrong Answer 14ms 1.168 MiB
#3 Accepted 1ms 352.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Wrong Answer 2ms 540.0 KiB
#6 Wrong Answer 1ms 548.0 KiB
#7 Wrong Answer 14ms 1.273 MiB
#8 Wrong Answer 14ms 1.262 MiB
#9 Wrong Answer 14ms 1.258 MiB
#10 Wrong Answer 14ms 1.281 MiB

信息

递交者
类型
递交
题目
P2088 黑白奶牛(cow)
语言
C++
递交时间
2026-11-22 10:01:21
评测时间
2026-11-22 10:01:44
评测机
分数
30
总耗时
80ms
峰值内存
1.281 MiB