#include using namespace std; #define rep(i,a,b) for(int i=a;i &v) { if (bit < 0) return 0; if (v.size() == 0) return 0; vector v0, v1; for (int x : v) { if (x & (1 << bit)) v1.push_back(x & ((1<> N; vector v; rep(i, 0, N) { int x; scanf("%d", &x); v.push_back(x); } cout << dfs(30, v) << endl; }