Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:20:12: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] if (j&(1<<s-1)==0) continue; ~^~ /in/foo.cc:20:15: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if (j&(1<<s-1)==0) continue; ~~~~~~~~^~~ /in/foo.cc:24:33: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] dp[j][s]=min(dp[j][s],dp[j^(1<<s-1)][p]+cost[p][s]); ~^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1456 最小总代价
- 语言
- C++
- 递交时间
- 2018-09-02 10:12:04
- 评测时间
- 2018-09-02 10:12:04
- 评测机
- 分数
- 30
- 总耗时
- 4430ms
- 峰值内存
- 5.375 MiB