/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int l=2;l<=i;l++)
         ^~~
/in/foo.cc:26: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:27:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int k=i-1;k>0;k--)
         ^~~
/in/foo.cc:29: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 9ms 2.582 MiB
#2 Accepted 4ms 1.555 MiB
#3 Accepted 2ms 864.0 KiB
#4 Accepted 2ms 1.207 MiB
#5 Accepted 5ms 1.945 MiB
#6 Accepted 11ms 3.008 MiB
#7 Accepted 3ms 1.473 MiB
#8 Accepted 9ms 2.605 MiB
#9 Accepted 11ms 2.891 MiB
#10 Accepted 26ms 4.23 MiB

信息

递交者
类型
递交
题目
P1006 晴天小猪历险记之Hill
语言
C++
递交时间
2024-04-16 22:16:45
评测时间
2024-04-16 22:16:45
评测机
分数
100
总耗时
88ms
峰值内存
4.23 MiB