bitmask tag

2 questions


1 answers
47 views
0
[Python3] I woven a code using a bit mask and recursion, but I don't know why the output value doesn't come out.

The problem I'm solving right now is Exporter Tour in Baekjun Online Jersey #2098. I know that the most common way to solve this problem is through bitmask and dynamic programming. I planned it like t...


1 answers
51 views
0
(x^0x1)! = What does 0 do?

From the source code below,What does x^0x1 do?What rules do I not know?if( 0 != ( x ^ 0x1 ) ) encode( x, m );


© 2024 OneMinuteCode. All rights reserved.