Shortest Log Stretch With a Checksum Above the Limit

Company: TigerAnalytics_IITBHU_2nov

Difficulty: hard