Problem 4013 · Hard
Turn the ratio test into a running score and count earlier prefix scores that are large enough.
Open the interactive visualisation