/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:27: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
         if(k!=j&&!(i&(1<<k-1)))
                          ~^~
/in/foo.cc:15:20: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
           f[i|(1<<k-1)][k]=min(f[i|(1<<k-1)][k],f[i][j]+a[j][k]);
                   ~^~
/in/foo.cc:15:41: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
           f[i|(1<<k-1)][k]=min(f[i|(1<<k-1)][k],f[i][j]+a[j][k]);
                                        ~^~
# 状态 耗时 内存占用
#1 Accepted 7ms 8.043 MiB
#2 Accepted 8ms 7.973 MiB
#3 Accepted 8ms 8.008 MiB
#4 Accepted 7ms 8.008 MiB
#5 Accepted 7ms 8.016 MiB
#6 Accepted 7ms 8.016 MiB
#7 Accepted 7ms 7.945 MiB
#8 Accepted 8ms 8.0 MiB
#9 Accepted 7ms 8.051 MiB
#10 Accepted 9ms 7.965 MiB
#11 Accepted 12ms 8.059 MiB
#12 Accepted 18ms 8.055 MiB
#13 Accepted 31ms 8.051 MiB
#14 Accepted 67ms 8.059 MiB
#15 Accepted 77ms 8.051 MiB
#16 Accepted 72ms 8.051 MiB
#17 Accepted 66ms 8.051 MiB
#18 Accepted 61ms 8.055 MiB
#19 Accepted 61ms 8.055 MiB
#20 Accepted 6ms 7.988 MiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2023-05-10 09:34:49
评测时间
2023-05-10 09:34:49
评测机
分数
100
总耗时
557ms
峰值内存
8.059 MiB