/ 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 2ms 232.0 KiB
#2 Accepted 2ms 2.34 MiB
#3 Accepted 3ms 2.348 MiB
#4 Accepted 2ms 2.34 MiB
#5 Accepted 2ms 2.348 MiB
#6 Accepted 3ms 6.34 MiB
#7 Accepted 2ms 2.348 MiB
#8 Accepted 2ms 2.336 MiB
#9 Accepted 2ms 2.348 MiB
#10 Accepted 2ms 2.336 MiB
#11 Wrong Answer 1ms 2.348 MiB
#12 Accepted 1ms 2.336 MiB
#13 Accepted 2ms 4.352 MiB
#14 Accepted 2ms 2.34 MiB
#15 Accepted 3ms 4.723 MiB
#16 Accepted 3ms 4.602 MiB
#17 Runtime Error 1ms 220.0 KiB
#18 Runtime Error 2ms 2.215 MiB
#19 Runtime Error 1ms 216.0 KiB
#20 Runtime Error 1ms 228.0 KiB

信息

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