#include using namespace std; #define REP(i, a, n) for(int i=a; i> x; if (x > 31) cout << 0 << " " << 0 << endl; else { create_comb(); cout << comb[31][x] << " " << ((1 << 31) - 1)*comb[30][x - 1] << endl; } return 0; }