/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int l=2;l<=i;l++)//从左往右推 从左往右走的情况更新
         ^~~
/in/foo.cc:32:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             f[i][1]=min(f[i][1],f[i][i]+a[i][1]);
             ^
/in/foo.cc:34:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int k=i-1;k>0;k--)//再推一遍从右往左推 从右往左走的情况更新
         ^~~
/in/foo.cc:36:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             f[i][i]=min(f[i][i],f[i][1]+a[i][i]);
             ^
# 状态 耗时 内存占用
#1 Accepted 24ms 6.875 MiB
#2 Accepted 8ms 2.875 MiB
#3 Accepted 3ms 2.586 MiB
#4 Accepted 6ms 4.625 MiB
#5 Accepted 19ms 3.0 MiB
#6 Accepted 29ms 3.586 MiB
#7 Accepted 9ms 2.875 MiB
#8 Accepted 30ms 7.125 MiB
#9 Accepted 43ms 5.605 MiB
#10 Accepted 80ms 8.0 MiB

信息

递交者
类型
递交
题目
P1006 晴天小猪历险记之Hill
语言
C++
递交时间
2018-09-30 13:53:13
评测时间
2018-09-30 13:53:13
评测机
分数
100
总耗时
257ms
峰值内存
8.0 MiB