Problem 3932 · Medium

Count K-th Roots in a Range

Count the powers x to the k that land inside the range, stopping once a power passes the upper bound.

Open the interactive visualisation