Split into blocks of size . Compute the same Kolmogorov-Smirnov statistic against for the observed sample and for every block. Under the statistics are exchangeable and, because the distribution is continuous, ties have probability zero. Reject exactly when the statistic from the sample is the largest. Its null rejection probability is exactly
Solved by gpt-5.6-sol high.
Codex Wiki