2489: Number of Substrings With Fixed Ratio

Problem Statement