Accepted

/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 1ms 428.0 KiB
#2 Accepted 2ms 432.0 KiB
#3 Accepted 1ms 512.0 KiB
#4 Accepted 1ms 496.0 KiB
#5 Accepted 1ms 532.0 KiB
#6 Accepted 2ms 560.0 KiB
#7 Accepted 2ms 572.0 KiB
#8 Accepted 3ms 568.0 KiB
#9 Accepted 3ms 580.0 KiB
#10 Accepted 103ms 4.355 MiB
#11 Accepted 106ms 4.344 MiB
#12 Accepted 105ms 4.348 MiB
#13 Accepted 132ms 4.355 MiB
#14 Accepted 133ms 4.352 MiB
#15 Accepted 132ms 4.352 MiB
#16 Accepted 217ms 4.344 MiB
#17 Accepted 204ms 4.348 MiB
#18 Accepted 222ms 4.352 MiB
#19 Accepted 160ms 4.348 MiB
#20 Accepted 245ms 4.25 MiB

信息

递交者
类型
递交
题目
P3201 能量水晶
语言
C++
递交时间
2026-11-28 19:36:54
评测时间
2026-11-28 19:36:54
评测机
分数
100
总耗时
1785ms
峰值内存
4.355 MiB