/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:44:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(j+k==(1<<maxn)-1||j==k||(j&k)==k&&(j&1)==0||(((1<<maxn)-1-j)&k)==k&&(((1<<maxn)-1-j)&1)==0)
                                ~~~~~~~~^~~~~~~~~~
/in/foo.cc:44:74: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if(j+k==(1<<maxn)-1||j==k||(j&k)==k&&(j&1)==0||(((1<<maxn)-1-j)&k)==k&&(((1<<maxn)-1-j)&1)==0)
                                                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:48:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
       if(hashx[i]==0)
       ^~
/in/foo.cc:50:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   makemap();
   ^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 344.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 3ms 2.5 MiB
#5 Accepted 3ms 512.0 KiB
#6 Wrong Answer 3ms 388.0 KiB
#7 Wrong Answer 2ms 488.0 KiB
#8 Wrong Answer 32ms 4.25 MiB
#9 Runtime Error 7ms 3.375 MiB
#10 Runtime Error 3ms 2.492 MiB

信息

递交者
类型
递交
题目
P1578 渡河
语言
C++
递交时间
2018-07-28 14:45:24
评测时间
2018-07-28 14:45:24
评测机
分数
50
总耗时
65ms
峰值内存
4.25 MiB