You are given a positive integer p. Consider an array nums containing all integers in the inclusive range
In one operation, you may choose two elements from nums and swap their bits at any corresponding bit position.
Return the minimum non zero product of all elements in nums after applying any number of operations. Since the result can be very large, return it modulo
Constraints:
p
You are given a positive integer p. Consider an array nums containing all integers in the inclusive range
In one operation, you may choose two elements from nums and swap their bits at any corresponding bit position.
Return the minimum non zero product of all elements in nums after applying any number of operations. Since the result can be very large, return it modulo
Constraints:
p