Devesh Agarwal's submission of Squared Subsequences | CodeChef