Problem 2317 · Medium

Maximum XOR After Operations

Operations can only clear bits, so the largest achievable XOR is the OR of all numbers.

Open the interactive visualisation