Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
   14 |         while (a[r]*(r-l+1)-pre>m)
      |         ^~~~~
/in/foo.cc:16:13: 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 2ms 524.0 KiB
#3 Accepted 3ms 468.0 KiB
#4 Accepted 2ms 424.0 KiB
#5 Accepted 2ms 500.0 KiB
#6 Accepted 2ms 564.0 KiB
#7 Accepted 2ms 548.0 KiB
#8 Accepted 3ms 576.0 KiB
#9 Accepted 3ms 576.0 KiB
#10 Accepted 103ms 4.34 MiB
#11 Accepted 106ms 4.344 MiB
#12 Accepted 103ms 4.336 MiB
#13 Accepted 131ms 4.336 MiB
#14 Accepted 133ms 4.34 MiB
#15 Accepted 132ms 4.336 MiB
#16 Accepted 219ms 4.34 MiB
#17 Accepted 209ms 4.336 MiB
#18 Accepted 221ms 4.34 MiB
#19 Accepted 155ms 4.34 MiB
#20 Accepted 243ms 4.305 MiB

信息

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