Java program to find smallest integer X such that sum of its XOR with range is maximum .
import java . lang . Math ; class GFG { private static final int MAX = 2147483647 ; static int [ ] [ ] one = new int [ 100001 ] [ 32 ] ;