/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:17: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if((i&(1<<k-1)))dp[i|(1<<j-1)]=min(dp[i|(1<<j-1)],dp[i]+a[k][j]);
                ~^~
/in/foo.cc:18:32: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if((i&(1<<k-1)))dp[i|(1<<j-1)]=min(dp[i|(1<<j-1)],dp[i]+a[k][j]);
                               ~^~
/in/foo.cc:18:51: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if((i&(1<<k-1)))dp[i|(1<<j-1)]=min(dp[i|(1<<j-1)],dp[i]+a[k][j]);
                                                  ~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 760.0 KiB
#2 Wrong Answer 4ms 756.0 KiB
#3 Accepted 3ms 640.0 KiB
#4 Accepted 5ms 736.0 KiB
#5 Accepted 4ms 768.0 KiB
#6 Accepted 4ms 640.0 KiB
#7 Accepted 4ms 756.0 KiB
#8 Accepted 4ms 728.0 KiB
#9 Accepted 4ms 724.0 KiB
#10 Wrong Answer 6ms 756.0 KiB
#11 Accepted 8ms 764.0 KiB
#12 Accepted 14ms 768.0 KiB
#13 Accepted 18ms 736.0 KiB
#14 Accepted 31ms 752.0 KiB
#15 Accepted 42ms 756.0 KiB
#16 Accepted 53ms 736.0 KiB
#17 Accepted 36ms 736.0 KiB
#18 Accepted 33ms 760.0 KiB
#19 Wrong Answer 45ms 640.0 KiB
#20 Accepted 3ms 736.0 KiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2018-05-29 16:02:51
评测时间
2018-05-29 16:02:51
评测机
分数
85
总耗时
336ms
峰值内存
768.0 KiB