/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:29:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  for (int i=1;i<=n;i++) f[1<<i-1][i]=0;
                              ~^~
/in/foo.cc:34:19: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if (!(i&(1<<k-1)))
                  ~^~
/in/foo.cc:35:16: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
       f[i|(1<<k-1)][k]=min(f[i|(i<<k-1)][k],f[i][j]+a[j][k]);
               ~^~
/in/foo.cc:35:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
       f[i|(1<<k-1)][k]=min(f[i|(i<<k-1)][k],f[i][j]+a[j][k]);
                                    ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 8ms 8.75 MiB
#2 Wrong Answer 36ms 8.75 MiB
#3 Wrong Answer 21ms 8.859 MiB
#4 Wrong Answer 34ms 8.871 MiB
#5 Wrong Answer 29ms 8.875 MiB
#6 Wrong Answer 20ms 8.855 MiB
#7 Wrong Answer 27ms 8.824 MiB
#8 Runtime Error 37ms 8.75 MiB
#9 Runtime Error 8ms 8.863 MiB
#10 Runtime Error 7ms 8.855 MiB
#11 Runtime Error 7ms 8.75 MiB
#12 Runtime Error 9ms 8.75 MiB
#13 Runtime Error 33ms 8.871 MiB
#14 Runtime Error 12ms 8.695 MiB
#15 Runtime Error 34ms 8.84 MiB
#16 Runtime Error 6ms 8.75 MiB
#17 Runtime Error 6ms 8.867 MiB
#18 Runtime Error 5ms 8.75 MiB
#19 Runtime Error 8ms 8.836 MiB
#20 Accepted 5ms 8.828 MiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2018-03-31 08:26:37
评测时间
2018-03-31 08:26:37
评测机
分数
5
总耗时
361ms
峰值内存
8.875 MiB