/ Vijos /

记录详情

Accepted

foo.cc: In function ‘int main()’:
foo.cc:14:35: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   14 |                         if(t&(1<<i-1))//在这里面
      |                                  ~^~
foo.cc:16:59: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   16 |                                         if(i!=j&&!(t&(1<<j-1)))//不在这里面
      |                                                          ~^~
foo.cc:17:62: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   17 |                                                 dp[j][t|(1<<j-1)]=min(dp[j][t|(1<<j-1)],dp[i][t]+g[i][j]);
      |                                                             ~^~
foo.cc:17:84: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
   17 |                                                 dp[j][t|(1<<j-1)]=min(dp[j][t|(1<<j-1)],dp[i][t]+g[i][j]);
      |                                                                                   ~^~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 82ms 80.543 MiB
#2 Accepted 87ms 80.523 MiB
#3 Accepted 87ms 80.527 MiB
#4 Accepted 85ms 80.562 MiB
#5 Accepted 85ms 80.566 MiB
#6 Accepted 85ms 80.461 MiB
#7 Accepted 86ms 80.5 MiB
#8 Accepted 84ms 80.562 MiB
#9 Accepted 88ms 80.641 MiB
#10 Accepted 89ms 80.645 MiB
#11 Accepted 91ms 80.625 MiB
#12 Accepted 94ms 80.578 MiB
#13 Accepted 97ms 80.527 MiB
#14 Accepted 110ms 80.531 MiB
#15 Accepted 107ms 80.559 MiB
#16 Accepted 122ms 80.523 MiB
#17 Accepted 112ms 80.539 MiB
#18 Accepted 119ms 80.523 MiB
#19 Accepted 83ms 80.523 MiB
#20 Accepted 101ms 80.609 MiB

信息

递交者
类型
递交
题目
P1456 最小总代价
语言
C++
递交时间
2024-04-03 15:47:17
评测时间
2024-04-03 15:47:17
评测机
分数
100
总耗时
1904ms
峰值内存
80.645 MiB