Problem 2470 · Medium
Count subarrays whose least common multiple is exactly k.
Open the interactive visualisation