import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; import java.util.BitSet; public class Prob107 { public static BitSet intToBitset(int size, int n) { BitSet b = new BitSet(size); for(int k=0; k