/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:30:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   30 |         for(int l=2;l<=i;l++)//从左往右推 从左往右走的情况更新
      |         ^~~
foo.cc:32:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   32 |             f[i][1]=min(f[i][1],f[i][i]+a[i][1]);
      |             ^
foo.cc:34:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   34 |         for(int k=i-1;k>0;k--)//再推一遍从右往左推 从右往左走的情况更新
      |         ^~~
foo.cc:36:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   36 |             f[i][i]=min(f[i][i],f[i][1]+a[i][i]);
      |             ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 23ms 2.648 MiB
#2 Accepted 10ms 1.652 MiB
#3 Accepted 5ms 924.0 KiB
#4 Accepted 6ms 1.152 MiB
#5 Accepted 15ms 1.902 MiB
#6 Accepted 24ms 2.914 MiB
#7 Accepted 10ms 1.574 MiB
#8 Accepted 24ms 2.617 MiB
#9 Accepted 27ms 2.902 MiB
#10 Accepted 65ms 4.121 MiB

信息

递交者
类型
递交
题目
P1006 晴天小猪历险记之Hill
语言
C++
递交时间
2023-10-09 10:40:05
评测时间
2023-10-09 10:40:05
评测机
分数
100
总耗时
213ms
峰值内存
4.121 MiB