You are given two integers n and k.
An integer x is defined as compatible with n if the bitwise AND operation between n and x equals n & x == 0).
Return the sum of all positive integers x in the range n. If no such integers exist, return
Constraints:
n
k
You are given two integers n and k.
An integer x is defined as compatible with n if the bitwise AND operation between n and x equals n & x == 0).
Return the sum of all positive integers x in the range n. If no such integers exist, return
Constraints:
n
k