Steve Smith's counter-attacking century helped Australia recover from 98 for five and chase down 268 to beat South Africa by three wickets in the fourth One-Day International at the Melbourne Cricket Ground.

Rilee Rossouw put his struggles in One-Day International cricket behind him to score a half-century on his Twenty20 International debut that helped South Africa win the first game against Australia by seven wickets.