/ 答案 /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:30:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         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'
             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]
         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'
             f[i][i]=min(f[i][i],f[i][1]+a[i][i]);
             ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 9ms 2.719 MiB
#2 Accepted 4ms 1.582 MiB
#3 Accepted 2ms 896.0 KiB
#4 Accepted 2ms 1.125 MiB
#5 Accepted 6ms 1.875 MiB
#6 Accepted 11ms 2.91 MiB
#7 Accepted 4ms 1.539 MiB
#8 Accepted 10ms 2.605 MiB
#9 Accepted 12ms 2.836 MiB
#10 Accepted 30ms 4.129 MiB

信息

递交者
类型
递交
题目
P1034 晴天小猪历险记之Hill
语言
C++
递交时间
2021-12-02 07:05:42
评测时间
2021-12-02 07:05:42
评测机
分数
100
总耗时
96ms
峰值内存
4.129 MiB