Ranked choice doesn't always get the correct result, but it's a lot closer than a simple vote.
"If no candidate receives a majority, the candidate with the fewest first choices is eliminated and voters who liked that candidate the best have their ballots instantly counted for their second choice."
- http://www.rcvmaine.com/how_does_ranked_choice_voting_work