Trailing at halftime, Carmelo Anthony’s 31 points lifted the U.S. past Australia, 98-88, preserving the team’s perfect record.