// Arup Guha // 2/21/2019 // Incorrect Solution for 2019 Proposed NAIPC Problem: Xor Partition import java.util.*; public class xorpartition_arup_wrong { final public static long MOD = 1000000007L; public static int numbits; public static int n; public static void main(String[] args) { // Set up our subsets. Scanner stdin = new Scanner(System.in); numbits = stdin.nextInt(); n = stdin.nextInt(); subset[] sets = new subset[n]; for (int i=0; i set; // Creates an empty subset. public subset(int m) { set = new ArrayList(); numbits = m; } public void add(int x) { set.add(x); } // Returns the bit mask of all bits that are common amongst all pairs of // items in this subset. private int sameBits() { int allOnes = (1<