Executing the schedule finds the largest element of the array. The maximum value, written to *res, is broadcast to all members of the active process group.