Wrong Answer

/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 476.0 KiB
#2 Accepted 1ms 476.0 KiB
#3 Accepted 1ms 532.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Accepted 2ms 580.0 KiB
#6 Wrong Answer 14ms 1.293 MiB
#7 Accepted 2ms 608.0 KiB
#8 Accepted 15ms 1.266 MiB
#9 Wrong Answer 14ms 1.293 MiB
#10 Accepted 9ms 908.0 KiB

信息

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