Problem 2269 · Easy

Find the K-Beauty of a Number

Slide a window of k digits along the number and count the windows whose value is a nonzero divisor of the number.

Open the interactive visualisation