Ankur Kayal's submission of Squares Counting | CodeChef