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 476.0 KiB
#2 Accepted 1ms 472.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 1ms 476.0 KiB
#5 Accepted 1ms 548.0 KiB
#6 Accepted 2ms 552.0 KiB
#7 Accepted 2ms 536.0 KiB
#8 Accepted 3ms 576.0 KiB
#9 Accepted 3ms 556.0 KiB
#10 Accepted 107ms 4.344 MiB
#11 Accepted 109ms 4.344 MiB
#12 Accepted 107ms 4.344 MiB
#13 Accepted 134ms 4.336 MiB
#14 Accepted 134ms 4.328 MiB
#15 Accepted 134ms 4.336 MiB
#16 Accepted 221ms 4.34 MiB
#17 Accepted 208ms 4.336 MiB
#18 Accepted 221ms 4.348 MiB
#19 Accepted 158ms 4.348 MiB
#20 Accepted 248ms 4.262 MiB

信息

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