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