/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:12: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 if (j&(1<<s-1)==0) continue;
           ~^~
/in/foo.cc:23:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
 if (j&(1<<s-1)==0) continue;
       ~~~~~~~~^~~
/in/foo.cc:27:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 dp[j][s]=min(dp[j][s],dp[j^(1<<s-1)][p]+cost[p][s]);
                                ~^~
# 状态 耗时 内存占用
#1 Accepted 10ms 10.25 MiB
#2 Accepted 13ms 10.25 MiB
#3 Accepted 10ms 10.25 MiB
#4 Accepted 11ms 10.367 MiB
#5 Accepted 7ms 10.344 MiB
#6 Accepted 10ms 10.336 MiB
#7 Accepted 10ms 10.25 MiB
#8 Accepted 11ms 10.328 MiB
#9 Accepted 9ms 10.25 MiB
#10 Accepted 8ms 10.363 MiB
#11 Accepted 13ms 10.355 MiB
#12 Accepted 20ms 10.375 MiB
#13 Accepted 28ms 10.332 MiB
#14 Accepted 61ms 10.371 MiB
#15 Accepted 76ms 10.348 MiB
#16 Accepted 70ms 10.25 MiB
#17 Accepted 45ms 10.359 MiB
#18 Accepted 47ms 10.25 MiB
#19 Accepted 70ms 10.25 MiB
#20 Accepted 9ms 10.363 MiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2018-09-02 10:27:37
评测时间
2018-09-02 10:27:37
评测机
分数
100
总耗时
549ms
峰值内存
10.375 MiB