Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   13 |         while (a[r]*(r-l+1)-pre>m)
      |         ^~~~~
/in/foo.cc:15:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   15 |             ans=max(ans,r-l+1);
      |             ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 1ms 480.0 KiB
#4 Accepted 1ms 532.0 KiB
#5 Accepted 1ms 540.0 KiB
#6 Accepted 2ms 544.0 KiB
#7 Accepted 2ms 524.0 KiB
#8 Accepted 3ms 564.0 KiB
#9 Accepted 3ms 552.0 KiB
#10 Wrong Answer 34ms 1.281 MiB
#11 Wrong Answer 39ms 1.289 MiB
#12 Wrong Answer 34ms 1.242 MiB
#13 Runtime Error 5ms 532.0 KiB
#14 Runtime Error 5ms 532.0 KiB
#15 Runtime Error 5ms 532.0 KiB
#16 Runtime Error 5ms 536.0 KiB
#17 Runtime Error 5ms 480.0 KiB
#18 Runtime Error 5ms 476.0 KiB
#19 Runtime Error 5ms 476.0 KiB
#20 Runtime Error 5ms 476.0 KiB

信息

递交者
类型
递交
题目
P3201 能量水晶
语言
C++
递交时间
2026-11-28 19:33:49
评测时间
2026-11-28 19:33:49
评测机
分数
45
总耗时
177ms
峰值内存
1.289 MiB