/ Vijos /

记录详情

Runtime Error

/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 216.0 KiB
#2 Accepted 2ms 2.348 MiB
#3 Accepted 1ms 2.336 MiB
#4 Accepted 1ms 2.348 MiB
#5 Accepted 1ms 2.336 MiB
#6 Accepted 1ms 2.348 MiB
#7 Accepted 1ms 2.336 MiB
#8 Accepted 1ms 2.348 MiB
#9 Accepted 1ms 348.0 KiB
#10 Accepted 1ms 2.223 MiB
#11 Wrong Answer 1ms 344.0 KiB
#12 Accepted 1ms 2.348 MiB
#13 Accepted 1ms 2.336 MiB
#14 Accepted 1ms 2.352 MiB
#15 Wrong Answer 2ms 2.586 MiB
#16 Wrong Answer 2ms 1.473 MiB
#17 Runtime Error 1ms 216.0 KiB
#18 Runtime Error 1ms 228.0 KiB
#19 Runtime Error 1ms 216.0 KiB
#20 Runtime Error 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P2032 宝藏
语言
C++
递交时间
2020-10-21 19:02:47
评测时间
2020-10-21 19:02:47
评测机
分数
65
总耗时
36ms
峰值内存
2.586 MiB