/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int l=2;l<=i;l++)
         ^~~
/in/foo.cc:31: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:33:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int k=i-1;k>0;k--)
         ^~~
/in/foo.cc:35: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 14ms 6.75 MiB
#2 Accepted 9ms 4.875 MiB
#3 Accepted 4ms 2.5 MiB
#4 Accepted 6ms 4.734 MiB
#5 Accepted 7ms 3.0 MiB
#6 Accepted 13ms 6.5 MiB
#7 Accepted 5ms 6.5 MiB
#8 Accepted 12ms 6.445 MiB
#9 Accepted 19ms 5.375 MiB
#10 Accepted 32ms 7.32 MiB

信息

递交者
类型
递交
题目
P1006 晴天小猪历险记之Hill
语言
C++
递交时间
2017-06-17 11:25:43
评测时间
2017-06-17 11:25:43
评测机
分数
100
总耗时
124ms
峰值内存
7.32 MiB