Nhật Quang Ngô's submission of Minimum Sum | CodeChef