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=30;i>=0;i--){
      |         ^~~
# 状态 耗时 内存占用
#1 Accepted 2ms 492.0 KiB
#2 Accepted 1ms 504.0 KiB
#3 Accepted 1ms 492.0 KiB
#4 Accepted 1ms 568.0 KiB
#5 Accepted 2ms 580.0 KiB
#6 Accepted 28ms 1.91 MiB
#7 Accepted 3ms 616.0 KiB
#8 Accepted 76ms 4.367 MiB
#9 Accepted 68ms 3.992 MiB
#10 Accepted 9ms 952.0 KiB

信息

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