Rini's submission of Substring Query | CodeChef