The Brazilian diver who allegedly banished her synchronised partner from their shared room at Rio 2016 for a "marathon night of sex" with a canoeist has been in trouble before - for posting sexy photographs online ahead of a big tournament.

Ingrid Oliveira, 20, is claimed to have slept with compatriot Pedro Goncalves at her room in the Olympic Village the night before she was due to dive at the Games.

Their "marathon night of sex", as it was called in South American media, allegedly left Giovanna Pedroso, 17, furious - and they have now split.

And today it was revealed that Oliveira was lambasted for posting a "provocative" photo of herself in a swimsuit the day before her first individual jump at the Pan American Games in Toronto last year.

Ingrid Oliveira at the Pan American Games last year. Source: Instagram/ingrid.oliveira96
Ingrid Oliveira at the Pan American Games last year. Source: Instagram/ingrid.oliveira96

Brazilians accused the athlete, then aged 19, of "being more interested in posting photos of her behind than winning medals".

Following the backlash she won zero points in her event after misjudging her jump and flopping into the pool on her back.

She later admitted "terrible comments" on her Instagram page had "knocked her".

Oliveira told an interviewer: "I thought it was absurd what people were commenting, because I thought there was nothing much in that photo.

"If there was anything so bad I wouldn't have posted it. These people need to think before they speak because they said a lot of absurdities.

"I had to go through and delete each clueless comment. I just think this polemic should never have happened. People were saying I was more interested in posting photos of my behind than winning medals."

Brazilian canoeist Pedro Goncalves

Tudo pronto, hoje começa oficialmente os Jogos Olímpicos RIO2016, conto muito com sua torcida 🍀🇧🇷🏆

A post shared by ᴘᴇᴅʀᴏ ʜᴇɴʀɪǫᴜᴇ ɢᴏɴçᴀʟᴠᴇs-ᴘᴇᴘᴇ (@pepehgoncalves) on

Even her trainer Andreia da Silva waded into the scandal, criticising the diver's lack of focus just hours before one of her the most important days of her career.

She said: "I've already told her to stop with this internet thing. No one is banning anything, she can have fun, she can play, but she has to pay more attention because we have an Olympic objective.

"Now they've put her in the media, right up there, as a sex symbol."

She also defended her, saying: "She always takes photos. There's nothing too bad on her Instagram. And the material of her work is her body, it's her swimsuit.

"Yet if she posts a photo of her in her swimsuit, they say she is exposing herself. What about volleyball players, in their bikinis, and swimmers, in their swimsuits? If this was a problem, she would get all her jumps wrong, but she doesn't."

Oliveira and diving teammate Giovanna Pedroso

Clearly irritated by claims by her country folk that she is more interested in sexy shoots than sport, Oliveira posted a video before Rio 2016, saying: "For the moralists on duty, I wanted to make very clear that I practise mortal jumps every day, and the chance of me making a mistake this time is almost zero."

It is also not the first time that Oliveira has fallen out with Pedroso. The pair allegedly did not talk for weeks leading up to the Olympics after a "stupid" argument over training and the moves in their jumps.

They agreed to start speaking again a week before the Games began, but only "what was necessary" to compete together, according to reports.

Oliveira and Pedroso finished last in the women's 10m synchronised diving at Rio last week, despite winning silver together at the Toronto Pan American Games last year.

Their dive in the Rio event won by Chen Ruolin and Liu Huixia of China was labelled "pathetic" in local media and was said to have been so bad the crowd laughed.

A post shared by Ingrid Oliveira (@ingrid.oliveira96) on

Pedroso told Brazil's O Globo: "The fight started in training because I wanted to do one type of dive and she wanted to do another.

"I don't know if we are going to continue together. My coach and I have already spoken and after the Olympics I'm going to focus on my individual performances.

"It's good because I'm not going to need to depend on anyone. Then I will be able to improve and evolve more."

Oliveira said: "People fight about whatever and don't talk but when it comes to competition time they come together because it's a unique moment.

"The Olympics on home soil. We put our differences aside and spoke to each normally. From today I don't know what's going to happen.

"But what I do know is that I won't do synchronised diving any more with her."

Meanwhile Goncalves told GloboEsporte: "My personal life, I do not speak about."

It was revealed in May that about 450,000 condoms have been distributed during Rio 2016 - three times more than for the London Games four years ago.

The International Olympic Committee said this was partly because 100,000 female condoms were made available for the first time, plus 350,000 condoms for men.

About 175,000 packets of lubricant have also been supplied. The IOC said the condoms would encourage the 10,500 athletes and staff to practice safe sex.

At Rio 2016 there are roughly 43 condoms per athlete available. Between 100,000 to 150,000 condoms had been supplied at Olympics since 2000 in Sydney.