BEIJING -- Self-respect, along with the prospect of getting revenge against Argentina was more enticing to Greece than the notion of avoiding Team USA.
Greece used a full-court press to open a large early lead, then held off China throughout the second half of a 91-77 victory on Monday.
The win gave Greece third place in Group B, putting it into a quarterfinal matchup against Argentina and a possible semifinal game against the United States.
"We hope we will have a little revenge against them, because they knocked us out of the tournament in Athens, when we were at home," said Greek guard Nikolaos Zisis.
There was speculation beforehand that Greece might tank the game, which would allow it to place fourth and avoid a potential matchup with Team USA until the gold medal game.
Or, the Greeks even could have used a little-known FIBA rule and defaulted the game (Article 21 in the FIBA rulebook), playing 39 minutes and then refusing to send more than one player onto the court, since any team losing by default still gets one point in the standings, the same as a regular loss, whereas zero points are awarded to a team that forfeits. (Egypt had a 2-0 forfeit loss against the United States at the 1976 Montreal Olympics when 28 countries boycotted the Games for political reasons, and the 1936 U.S. team had a 2-0 forfeit victory over Spain when the Spanish Civil War prevented the Spanish basketball team from traveling to Berlin. Egypt also forfeited its final two games in 1972 when its delegation left the Games following the Munich massacre).
But Greece coach Panagiotis Yannakis is not a proponent of funny business, believing it always backfires on the tanker, and his team came to play.
Dimitrios Diamantidis made two key plays against Yi Jianlian -- first stealing the ball from him and going in uncontested for a layup, then driving around Yi for a layup that made it 27-13. The lead grew to 38-17 early in the second quarter before Konstantinos Tsartsaris drew the ire of the Chinese crowd with a hard takedown of Yao Ming -- Greece went up by 22 at halftime.
Yao played only 7.5 minutes in the second half and appeared upset when coach Jonas Kazlauskas pulled him in the third quarter.
"If it were close, for sure Yao would have played a longer time," Kazlauskas said. "He is a fighter, he wants to play. I am the coach he is a player. I am the guy that makes the decisions."
Yao led China with 16 points, while Ioannis Bourousis and Vassilis Spanoulis had 19 apiece for Greece.
Australia 106, Lithuania 75
The 31-point loss knocked Lithuania (4-1) from the ranks of the unbeaten, though it still finished first in Group A because of its tiebreaking head-to-head win over Argentina (4-1).
Andrew Bogut went 3-for-3 from 3-point range and scored 23 points on 10-for-12 shooting, and Australia made 16 3s overall -- including 3-for-3 shooting by both Brad Newley and Chris Anstey.
A 19-0 run put Australia ahead 52-27, and the lead eventually reached 38 as The Boomers, as they're known Down Under, shot 57 percent and forced 25 turnovers.
Australia will face the United States in the quarterfinals.
"We have to blame ourselves for this loss," Lithuania's Sarunas Jasikevicius said. "We let them play, and they took advantage, they made shots, they outhustled us, they were more motivated. I don't think it'll be the case in the quarterfinals against the States, but this team is good. They have an inside-outside team, they have players that won't be afraid of the U.S. These guys are good, definitely."
Argentina 91, Russia 79
This one stayed close past halftime, but Luis Scola calmly sank a 17-footer midway through the third period to put Argentina up 16, and Pablo Prigioni sank a 24-foot set shot to make it 66-50.
Game over? No.
Russia pulled to 78-75 before Scola made two from the line and grabbed a defensive rebound. A 3-pointer by Manu Ginobili with 4:40 left made it an 8-point game, and Argentina had enough stops the rest of the way to finish Russia off.
Scola scored 37 -- the most by anyone in this tournament, going 12-for-16 from the field and 13-for-16 at the line, and Andres Nocioni scored 19.
Argentina is the most likely opponent for Team USA in the semifinals, but first it must defeat Greece.
Spain 98, Angola 50
Spain captain Carlos Jimenez returned after missing two games with a bruised lower back, started and played 20 minutes. Ricky Rubio also started and had five assists, three steals and two points in 13 minutes, keeping Angola (0-5) winless for the second straight Olympics.
Croatia 91, Iran 57
Croatia had a 17-0 run in the first quarter to take a 19-6 lead, and it was 58-23 before Iran had its best spurt -- a 9-0 run. Marko Popovic remained sidelined for a second straight game with a foot injury, and it is unclear if he'll be available in the quarterfinals against Spain. Iran (0-5) shot just 3-for-26 from 3-point range.
Chris Sheridan is an ESPN.com Insider. He has covered the U.S. senior national team since the 1996 Olympics. To e-mail Chris, click here.