A swimming competition is being watched by a group of people.