/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:15: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
         f[1<<i-1]=0;sl[1<<i-1][i]=1;
              ~^~
/in/foo.cc:22:28: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
         f[1<<i-1]=0;sl[1<<i-1][i]=1;
                           ~^~
/in/foo.cc:23:24: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
         for(int j=(1<<i-1)+1;j<1<<n;++j){
                       ~^~
/in/foo.cc:30:43: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
                         int t=j&(~(1<<q[l]-1));
                                       ~~~~^~
/in/foo.cc:9:19: warning: unused variable 'anss' [-Wunused-variable]
     int n,m,ans=D,anss=0;
                   ^~~~
# 状态 耗时 内存占用
#1 Runtime Error 1ms 408.0 KiB
#2 Runtime Error 1ms 408.0 KiB
#3 Runtime Error 1ms 408.0 KiB
#4 Runtime Error 1ms 408.0 KiB
#5 Runtime Error 1ms 412.0 KiB
#6 Runtime Error 1ms 404.0 KiB
#7 Runtime Error 1ms 452.0 KiB
#8 Runtime Error 1ms 412.0 KiB
#9 Runtime Error 1ms 412.0 KiB
#10 Runtime Error 1ms 408.0 KiB
#11 Runtime Error 1ms 456.0 KiB
#12 Runtime Error 1ms 400.0 KiB
#13 Runtime Error 1ms 364.0 KiB
#14 Runtime Error 1ms 412.0 KiB
#15 Runtime Error 1ms 400.0 KiB
#16 Runtime Error 1ms 408.0 KiB
#17 Runtime Error 1ms 420.0 KiB
#18 Runtime Error 1ms 408.0 KiB
#19 Runtime Error 1ms 356.0 KiB
#20 Runtime Error 1ms 408.0 KiB

信息

递交者
类型
递交
题目
P2032 宝藏
语言
C++
递交时间
2023-05-14 20:42:20
评测时间
2023-05-14 20:42:20
评测机
分数
0
总耗时
37ms
峰值内存
456.0 KiB