Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:17: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   14 |                 while (a[r]*(r-l+1)-pre>m)
      |                 ^~~~~
/in/foo.cc:16:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
   16 |                         ans=max(ans,(r-l+1));
      |                         ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 2ms 436.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 1ms 532.0 KiB
#5 Accepted 1ms 532.0 KiB
#6 Accepted 2ms 548.0 KiB
#7 Accepted 3ms 548.0 KiB
#8 Accepted 3ms 572.0 KiB
#9 Accepted 3ms 568.0 KiB
#10 Accepted 108ms 4.344 MiB
#11 Accepted 109ms 4.34 MiB
#12 Accepted 107ms 4.344 MiB
#13 Accepted 135ms 4.34 MiB
#14 Accepted 136ms 4.34 MiB
#15 Accepted 135ms 4.344 MiB
#16 Accepted 222ms 4.336 MiB
#17 Accepted 209ms 4.34 MiB
#18 Accepted 222ms 4.348 MiB
#19 Accepted 160ms 4.344 MiB
#20 Accepted 250ms 4.277 MiB

信息

递交者
类型
递交
题目
P3201 能量水晶
语言
C++
递交时间
2026-11-22 09:54:31
评测时间
2026-11-22 09:54:58
评测机
分数
100
总耗时
1821ms
峰值内存
4.348 MiB