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 2ms 484.0 KiB
#2 Accepted 1ms 532.0 KiB
#3 Accepted 1ms 480.0 KiB
#4 Accepted 1ms 484.0 KiB
#5 Accepted 1ms 352.0 KiB
#6 Accepted 2ms 572.0 KiB
#7 Accepted 2ms 556.0 KiB
#8 Accepted 3ms 580.0 KiB
#9 Accepted 3ms 572.0 KiB
#10 Accepted 104ms 4.348 MiB
#11 Accepted 106ms 4.348 MiB
#12 Accepted 105ms 4.352 MiB
#13 Accepted 135ms 4.352 MiB
#14 Accepted 134ms 4.348 MiB
#15 Accepted 133ms 4.344 MiB
#16 Accepted 221ms 4.348 MiB
#17 Accepted 208ms 4.352 MiB
#18 Accepted 218ms 4.352 MiB
#19 Accepted 157ms 4.348 MiB
#20 Accepted 246ms 4.285 MiB

信息

递交者
类型
递交
题目
P3201 能量水晶
比赛
2026.11.22高级班练习
语言
C++
递交时间
2026-11-28 19:37:44
评测时间
2026-11-28 19:37:44
评测机
分数
100
总耗时
1792ms
峰值内存
4.352 MiB