Crisis-weary investors scoffed Monday at what had appeared to be a hopeful turn in the European debt crisis: a victory for pro-Europe parties in a Greek election. U.S. stocks were little changed, and borrowing costs for Spain surged to alarming levels.

Investors appeared fed up with policy makers' inability to resolve a crisis that has bedeviled markets for more than three years. Leaders of the most developed countries are meeting in Mexico to discuss the crisis and the slowing global economy.

The Dow Jones industrial average closed down 25.35 points, or 0.2 percent, at 12,741.82.

The Standard & Poor's 500 index rose 1.94 points, or 0.1 percent, to 1,344.78.

The Nasdaq composite index rose 22.53 points, or 0.8 percent, to 2,895.33.

For the year:

The Dow is up 524.26 points, or 4.3 percent.

The S&P 500 is up 87.18, or 6.9 percent.

The Nasdaq is up 290.18, or 11.1 percent.