/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:70:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   70 |         for(int l=2;l<=i;l++)//从左往右推 从左往右走的情况更新
      |         ^~~
/in/foo.cc:72:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   72 |             f[i][1]=min(f[i][1],f[i][i]+a[i][1]);
      |             ^
/in/foo.cc:74:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   74 |         for(int k=i-1;k>0;k--)//再推一遍从右往左推 从右往左走的情况更新
      |         ^~~
/in/foo.cc:76:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   76 |             f[i][i]=min(f[i][i],f[i][1]+a[i][i]);
      |             ^
# 状态 耗时 内存占用
#1 Accepted 9ms 2.703 MiB
#2 Accepted 4ms 1.605 MiB
#3 Accepted 2ms 980.0 KiB
#4 Accepted 3ms 1.273 MiB
#5 Accepted 5ms 2.109 MiB
#6 Accepted 10ms 2.926 MiB
#7 Accepted 4ms 1.602 MiB
#8 Accepted 9ms 2.664 MiB
#9 Accepted 10ms 2.852 MiB
#10 Accepted 24ms 4.168 MiB

信息

递交者
类型
递交
题目
P1006 晴天小猪历险记之Hill
语言
C++
递交时间
2025-03-23 15:15:37
评测时间
2025-03-23 15:15:38
评测机
分数
100
总耗时
84ms
峰值内存
4.168 MiB