Ankur Kayal's submission of Compress all Subsegments | CodeChef