Huang I-Wen's submission of Profitable Paths 2 | CodeChef