package Chap2;
import java.util.Collections;
import java.util.ArrayList;
public class Tencent {
public static void Shu(int N,int k) {
ArrayList shu=new ArrayList<>();
shu.add(N);
int count=0;
int n=0;
while(k>=Math.pow(2, n)) {
k=(int) (k-Math.pow(2, n));
int size=shu.size();
for(int i=0;i