/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:55:14: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
     if(((1<<k-1)|j)==j) continue; 
             ~^~
/in/foo.cc:58:15: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if(((1<<l-1)|j)!=j) continue;//cout<<"H";
              ~^~
/in/foo.cc:60:56: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
      if(dp[i][j]+way[i][j][l]*juz[l][k]<dp[i+1][j|(1<<k-1)])
                                                       ~^~
/in/foo.cc:63:22: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
       dp[i+1][j|(1<<k-1)]=dp[i][j]+way[i][j][l]*juz[l][k];
                     ~^~
/in/foo.cc:66:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
        way[i+1][j|(1<<k-1)][o]=way[i][j][o];
                       ~^~
/in/foo.cc:68:23: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
       way[i+1][j|(1<<k-1)][k]=way[i][j][l]+1;
                      ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 2ms 4.211 MiB
#3 Accepted 2ms 4.348 MiB
#4 Accepted 3ms 6.219 MiB
#5 Accepted 3ms 6.34 MiB
#6 Accepted 3ms 6.203 MiB
#7 Accepted 3ms 6.223 MiB
#8 Accepted 3ms 6.336 MiB
#9 Accepted 2ms 2.344 MiB
#10 Accepted 3ms 6.215 MiB
#11 Wrong Answer 2ms 4.34 MiB
#12 Accepted 2ms 4.34 MiB
#13 Accepted 2ms 4.328 MiB
#14 Accepted 2ms 4.328 MiB
#15 Accepted 4ms 6.59 MiB
#16 Accepted 4ms 8.531 MiB
#17 Accepted 6ms 10.59 MiB
#18 Accepted 6ms 8.832 MiB
#19 Accepted 6ms 8.836 MiB
#20 Accepted 6ms 10.332 MiB

信息

递交者
类型
递交
题目
P2032 宝藏
语言
C++
递交时间
2020-10-21 19:07:21
评测时间
2020-10-21 19:07:21
评测机
分数
95
总耗时
76ms
峰值内存
10.59 MiB