An MMA fighter put his athletic prowess to use robbing a Queens bank — leaping over a 3-foot glass partition to get at the money, prosecutors and a teller said Tuesday.

The robber, identified by authorities as mixed-martial-arts fighter Sergio DaSilva, “seemed like a madman’’ as he cleared the obstacle to threaten staff at the Astoria Citibank before making off with nearly $45,000 in August 2017, testified worker Amal Lahrichi, 30.

The teller said that when she gave the bandit money, he told her, “You are a smart girl.”

Lahrichi said she couldn’t identify the crook as DaSilva, since the suspect was wearing a mask and hood at the time.

But Queens prosecutor Brianne Richards said in her opening arguments that despite DaSilva’s best efforts to hide his identity, “he forgot to wear one very important thing that day — gloves.’’

Richards said fingerprints were recovered from the top of the glass wall that led back to DaSilva, who lived on the same block as the bank.

DaSilva’s lawyer, David Fish, says his client couldn’t have carried out the crime because he was with his family that morning.

Prosecutors said DaSilva later spent much of the stolen cash at two casinos.