Ankur Dua's submission of AND Square Subsegments | CodeChef