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 480.0 KiB
#2 Accepted 1ms 476.0 KiB
#3 Accepted 1ms 348.0 KiB
#4 Accepted 1ms 492.0 KiB
#5 Accepted 2ms 584.0 KiB
#6 Accepted 29ms 1.914 MiB
#7 Accepted 2ms 572.0 KiB
#8 Accepted 78ms 4.367 MiB
#9 Accepted 71ms 3.984 MiB
#10 Accepted 10ms 940.0 KiB

信息

递交者
类型
递交
题目
P2562 烹饪问题5级T2 2023.12
比赛
2026.11.15高级班练习
语言
C++
递交时间
2026-11-16 09:04:35
评测时间
2026-11-16 09:04:35
评测机
分数
100
总耗时
201ms
峰值内存
4.367 MiB