saegusa's submission of Subarray LCM | CodeChef