#include #include #include using namespace std; typedef unsigned long long ull; unsigned long long h[130][2]; int n, m, poc; ull o=1; void bc(ull b[2], int j) { if (poc>=1050) return; ull q[2]={0, 0}; bool c=false; for (int i=0; ij) { b[i/64]^=(o<<(i%64)); bc(b, i); b[i/64]^=(o<<(i%64)); } } } if (!c) { poc++; //for (int i=0; i0); //cout<