/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:12: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
 if (j&(1<<s-1)==0) continue;
           ~^~
/in/foo.cc:21:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
 if (j&(1<<s-1)==0) continue;
       ~~~~~~~~^~~
/in/foo.cc:25: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 7ms 5.363 MiB
#2 Accepted 8ms 5.25 MiB
#3 Accepted 7ms 5.352 MiB
#4 Accepted 6ms 5.367 MiB
#5 Wrong Answer 5ms 5.352 MiB
#6 Wrong Answer 6ms 5.324 MiB
#7 Wrong Answer 5ms 5.348 MiB
#8 Wrong Answer 9ms 5.25 MiB
#9 Wrong Answer 7ms 5.371 MiB
#10 Wrong Answer 9ms 5.375 MiB
#11 Wrong Answer 11ms 5.25 MiB
#12 Wrong Answer 16ms 5.25 MiB
#13 Wrong Answer 23ms 5.355 MiB
#14 Accepted 72ms 5.344 MiB
#15 Wrong Answer 88ms 5.348 MiB
#16 Wrong Answer 51ms 5.25 MiB
#17 Wrong Answer 69ms 5.359 MiB
#18 Wrong Answer 59ms 5.25 MiB
#19 Wrong Answer 64ms 5.344 MiB
#20 Accepted 5ms 5.199 MiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2018-09-02 10:18:38
评测时间
2018-09-02 10:18:38
评测机
分数
30
总耗时
536ms
峰值内存
5.375 MiB