A wild Matt Cain held the Nationals hitless through five innings before the Giants -- and two other starting pitchers -- helped get a win Sunday.