President Dilma Rousseff emerged on Sunday as the front-runner, but she failed to win a majority of the vote, opening the way for a runoff with Aécio Neves.