Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   10 |     for(int i=1;i<=n;i++)
      |     ^~~
/in/foo.cc:12:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   12 |         for(int i=pow(2,30);i>=1;i/=2){
      |         ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 1ms 476.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 488.0 KiB
#5 Accepted 2ms 580.0 KiB
#6 Accepted 28ms 1.91 MiB
#7 Accepted 2ms 592.0 KiB
#8 Accepted 77ms 4.367 MiB
#9 Accepted 69ms 3.992 MiB
#10 Accepted 10ms 944.0 KiB

信息

递交者
类型
递交
题目
P2562 烹饪问题5级T2 2023.12
语言
C++
递交时间
2026-11-16 08:57:27
评测时间
2026-11-16 08:57:27
评测机
分数
100
总耗时
199ms
峰值内存
4.367 MiB