An Olympic swimmer is dancing at the side of the pool after winning his heat.