/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:31: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
  for (int u=1;u<=n;u++) f[1<<u-1][u]=0;
                              ~^~
/in/foo.cc:19:16: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
    if ((u&(1<<i-1))!=0)//这个人有过OK
               ~^~
/in/foo.cc:22:18: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if ((u&(1<<j-1))==0)//这个人可以传
                 ~^~
/in/foo.cc:24:16: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
       f[u|(1<<j-1)][j]=mymin(f[u|(1<<j-1)][j],f[u][i]+a[i][j]);
               ~^~
/in/foo.cc:24:39: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
       f[u|(1<<j-1)][j]=mymin(f[u|(1<<j-1)][j],f[u][i]+a[i][j]);
                                      ~^~
# 状态 耗时 内存占用
#1 Accepted 8ms 8.812 MiB
#2 Accepted 6ms 8.812 MiB
#3 Accepted 7ms 8.805 MiB
#4 Accepted 4ms 8.812 MiB
#5 Accepted 3ms 8.805 MiB
#6 Accepted 3ms 8.812 MiB
#7 Accepted 4ms 8.934 MiB
#8 Accepted 4ms 8.809 MiB
#9 Accepted 6ms 8.98 MiB
#10 Accepted 5ms 8.812 MiB
#11 Accepted 6ms 8.812 MiB
#12 Accepted 11ms 8.809 MiB
#13 Accepted 18ms 8.805 MiB
#14 Accepted 36ms 8.812 MiB
#15 Accepted 36ms 8.805 MiB
#16 Accepted 36ms 8.812 MiB
#17 Accepted 54ms 8.809 MiB
#18 Accepted 60ms 8.809 MiB
#19 Accepted 37ms 8.809 MiB
#20 Accepted 5ms 8.812 MiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2017-09-22 17:03:37
评测时间
2017-09-22 17:03:37
评测机
分数
100
总耗时
358ms
峰值内存
8.98 MiB