Shoko Miyata, the 19-year-old captain of the Japan women’s artistic gymnastics team, has withdrawn from the Paris Olympics after violating the team’s code of conduct by smoking. The incident has dashed hopes for a team medal at the Games for the first time since 1964.