kiên nguyễn's submission of maximize the sum | CodeChef