Depends on the sport. Personally because these olympic atheletes are at the top of the game. I feel they have a responsibility to promote good behaviour. so swearing and stuff should be done off camera atleast.
But I can understand they are human, and you can't blame them if they let it slip.